Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DAesEncryptionUtil.java75 static byte[] decrypt(SecretKey key, byte[] cipherText) throws IOException { in decrypt() argument
77 Objects.requireNonNull(cipherText); in decrypt()
79 DataInputStream cipherStream = new DataInputStream(new ByteArrayInputStream(cipherText)); in decrypt()
90 final byte[] cipherText; in encrypt()
95 cipherText = cipher.doFinal(plainText); in encrypt()
104 dos.writeInt(cipherText.length); in encrypt()
105 dos.write(cipherText); in encrypt()