[][src]Module kerberos_crypto::rc4_hmac_md5

This module provides routines to encrypt/decrypt by using the RC4 algorithm with HMAC-MD5 required by RC4_HMAC

Functions

decrypt

Decrypt ciphertext by using the RC4 algorithm with HMAC-MD5

encrypt

Encrypt plaintext by using the RC4 algorithm with HMAC-MD5

generate_key

Derive the RC4 key used to encrypt/decrypt from the user secret (password)

generate_key_from_string

Derive the RC4 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 RC4 encryption