Searched refs:ecies (Results 1 – 1 of 1) sorted by relevance
81 Cipher ecies = Cipher.getInstance("ECIESwithAES-CBC"); in testEciesBasic() local82 ecies.init(Cipher.ENCRYPT_MODE, pub); in testEciesBasic()83 byte[] ciphertext = ecies.doFinal(message); in testEciesBasic()85 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testEciesBasic()86 byte[] decrypted = ecies.doFinal(ciphertext); in testEciesBasic()157 Cipher ecies; in testExceptions() local159 ecies = Cipher.getInstance(algorithm); in testExceptions()173 ecies.init(Cipher.ENCRYPT_MODE, pub); in testExceptions()174 byte[] ciphertext = ecies.doFinal(message); in testExceptions()176 ecies.init(Cipher.DECRYPT_MODE, priv, ecies.getParameters()); in testExceptions()[all …]