Searched refs:cipher (Results 1 – 7 of 7) sorted by relevance
78 Cipher cipher = getCipherInstance(); in decrypt() local89 cipher.init(Cipher.DECRYPT_MODE, decryptionKey, new GCMParameterSpec(128, iv)); in decrypt()90 byte[] decryptionResult = cipher.doFinal(encryptedPhoneNumber); in decrypt()130 Cipher cipher = getCipherInstance(); in encrypt() local131 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in encrypt()132 byte[] iv = cipher.getIV(); in encrypt()136 byte[] encryptionResult = cipher.doFinal( in encrypt()
344 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in encryptWithKeyStore() local345 cipher.init(Cipher.ENCRYPT_MODE, key); in encryptWithKeyStore()346 return new StringBuffer(Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT)) in encryptWithKeyStore()348 .append(Base64.encodeToString(cipher.getIV(), Base64.DEFAULT)) in encryptWithKeyStore()376 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in decryptWithKeyStore() local377 cipher.init(Cipher.DECRYPT_MODE, key, in decryptWithKeyStore()379 return cipher.doFinal(value); in decryptWithKeyStore()
173 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in encryptWithKeyStore() local174 cipher.init(Cipher.ENCRYPT_MODE, key); in encryptWithKeyStore()175 return Base64.encodeToString(cipher.doFinal(value), Base64.DEFAULT) in encryptWithKeyStore()177 + Base64.encodeToString(cipher.getIV(), Base64.DEFAULT); in encryptWithKeyStore()205 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in decryptWithKeyStore() local206 cipher.init( in decryptWithKeyStore()209 return cipher.doFinal(value); in decryptWithKeyStore()
701 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt() local705 cipher.init(Cipher.ENCRYPT_MODE, secretKeyReference); in encrypt()707 .setEncryptedData(ByteString.copyFrom(cipher.doFinal(data.getBytes()))) in encrypt()708 .setInitVector(ByteString.copyFrom(cipher.getIV())).build(); in encrypt()752 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt() local758 cipher.init(Cipher.DECRYPT_MODE, secretKeyReference, spec); in decrypt()759 decryptedDataBytes = cipher.doFinal(protobuf.getEncryptedData().toByteArray()); in decrypt()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...