Searched refs:encrypter (Results 1 – 1 of 1) sorted by relevance
224 Cipher encrypter = Cipher.getInstance(encType.getJcaName()); in generateIv() local225 byte[] iv = new byte[encrypter.getBlockSize()]; in generateIv()254 Cipher encrypter = Cipher.getInstance(encType.getJcaName()); in encrypt() local257 encrypter.init(Cipher.ENCRYPT_MODE, derivedKey, new IvParameterSpec(iv), rng); in encrypt()258 return encrypter.doFinal(plaintext); in encrypt()