Searched refs:personalisation (Results 1 – 1 of 1) sorted by relevance
98 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() argument99 byte[] keyHash = personalisedHash(personalisation, keyBytes); in encrypt()112 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() argument113 byte[] keyHash = personalisedHash(personalisation, keyBytes); in decrypt()209 protected static byte[] personalisedHash(byte[] personalisation, byte[]... message) { in personalisedHash() argument213 if (personalisation.length > PADDING_LENGTH) { in personalisedHash()218 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()219 digest.update(personalisation); in personalisedHash()