Searched refs:dhies (Results 1 – 2 of 2) sorted by relevance
87 Cipher dhies; in testDhiesBasic() local89 dhies = Cipher.getInstance("DHIESwithAES"); in testDhiesBasic()94 dhies.init(Cipher.ENCRYPT_MODE, pub); in testDhiesBasic()95 byte[] ciphertext = dhies.doFinal(message); in testDhiesBasic()97 dhies.init(Cipher.DECRYPT_MODE, priv); in testDhiesBasic()98 byte[] decrypted = dhies.doFinal(ciphertext); in testDhiesBasic()115 Cipher dhies; in testDhiesCorrupt() local117 dhies = Cipher.getInstance("DHIESwithAES"); in testDhiesCorrupt()122 dhies.init(Cipher.ENCRYPT_MODE, pub); in testDhiesCorrupt()123 byte[] ciphertext = dhies.doFinal(message); in testDhiesCorrupt()[all …]
664 άδειες ádhies