[−][src]Module kerberos_crypto::aes_hmac_sha1
This module provides routines to encrypt/decrypt by using the AES algorithm with HMAC-SHA1 required by AES128_CTS_HMAC_SHA1_96 and AES256_CTS_HMAC_SHA1_96.
Functions
decrypt | Decrypt ciphertext by using the AES algorithm with HMAC-SHA1 |
encrypt | Encrypt plaintext by using the AES algorithm with HMAC-SHA1 |
generate_key | Derive the AES key used to encrypt/decrypt from the user secret (password) |
generate_key_from_string | Derive the AES key used to encrypt/decrypt from the string representation of the user secret (password) |
generate_preamble | Generate an aleatory preamble to insert at the beginning of the plaintext before AES encryption |
generate_salt | Creates the AES salt from the realm and the client name |