Searched refs:personalisation (Results 1 – 1 of 1) sorted by relevance
96 public static byte[] encrypt(byte[] keyBytes, byte[] personalisation, byte[] message) { in encrypt() argument97 byte[] keyHash = personalisedHash(personalisation, keyBytes); in encrypt()110 public static byte[] decrypt(byte[] keyBytes, byte[] personalisation, byte[] ciphertext) { in decrypt() argument111 byte[] keyHash = personalisedHash(personalisation, keyBytes); in decrypt()200 protected static byte[] personalisedHash(byte[] personalisation, byte[]... message) { in personalisedHash() argument204 if (personalisation.length > PADDING_LENGTH) { in personalisedHash()209 personalisation = Arrays.copyOf(personalisation, PADDING_LENGTH); in personalisedHash()210 digest.update(personalisation); in personalisedHash()