Searched refs:personalisation (Results 1 – 1 of 1) sorted by relevance
88 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() argument89 byte[] keyHash = personalisedHash(personalisation, keyBytes); in encrypt()101 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() argument102 byte[] keyHash = personalisedHash(personalisation, keyBytes); in decrypt()190 protected static byte[] personalisedHash(byte[] personalisation, byte[]... message) { in personalisedHash() argument194 if (personalisation.length > PADDING_LENGTH) { in personalisedHash()199 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()200 digest.update(personalisation); in personalisedHash()