@Test
public void encryptWithDefaultScryptParams() throws CipherException {

    byte[] privKey = Numeric.hexStringToByteArray(
            "7fe9d4b69f85c1fe15387a76e79d2b95c4c9e3fe756de3435afbc077d99d5346");
    String pw = "neo";
    String expectedNep2Encrypted = "6PYLykbKcbwnCuTJiQQ5PYu5uH9NgwGYLoMyTUabRxRJUsiA9GP8NgorUV";
    ECKeyPair keyPair = ECKeyPair.create(privKey);
    assertThat(NEP2.encrypt(pw, keyPair), is(expectedNep2Encrypted));
}