Home
last modified time | relevance | path

Searched refs:encrypter (Results 1 – 1 of 1) sorted by relevance

/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DCryptoOps.java224 Cipher encrypter = Cipher.getInstance(encType.getJcaName()); in generateIv() local
225 byte[] iv = new byte[encrypter.getBlockSize()]; in generateIv()
254 Cipher encrypter = Cipher.getInstance(encType.getJcaName()); in encrypt() local
257 encrypter.init(Cipher.ENCRYPT_MODE, derivedKey, new IvParameterSpec(iv), rng); in encrypt()
258 return encrypter.doFinal(plaintext); in encrypt()