@Test
public void decryptWithNonDefaultScryptParams() throws NEP2InvalidFormat, CipherException,
        NEP2InvalidPassphrase {

    ScryptParams nonDefaultScryptParams = new ScryptParams(256, 1, 1);
    String nep2Encrypted = "6PYSAe53E2MXoxZpr3Fmqtjf7FT3BBQU1pS55iYW1hrjU6xhXXHhYnTjkn";
    String password = "neo";
    ECKeyPair pair = NEP2.decrypt(password, nep2Encrypted, nonDefaultScryptParams);
    String expected = "a7038726c5a127989d78593c423e3dad93b2d74db90a16c0a58468c9e6617a87";
    assertThat(pair.getPrivateKey().getBytes(), is(Numeric.hexStringToByteArray(expected)));
}