Library to implement the cryptographic algorithms involved in the kerberos protocol.
The library provides different ciphers. The ciphers are classes which implements the diferent algorithms. All of them implement the KerberosCipher trait.
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.
This module provides routines to encrypt/decrypt by using the RC4 algorithm with HMAC-MD5 required by RC4_HMAC
Cipher for the AES algorithm, used by the encryption types AES128_CTS_HMAC_SHA1_96 and AES256_CTS_HMAC_SHA1_96
Cipher for the RC4 algorithm, used by the encryption type RC4_HMAC
Enum to provide asociated parameters with each size of the AES algorithm
Error raised by the routines of this library
Encapsules the possible keys used by this Kerberos implementation. Each key can be used by a different cryptographic algorithm.
Size of AES-128 key, 16 bytes
Size of AES-256 key, 32 bytes
Size of RC4 key , 16 bytes
Trait implemented by the ciphers of this library
Helper to check is an encryption type is supported by this library
Creates the appropiate cipher based on the encryption type specified
Returns a vector with the etypes of the supported algorithms by this library
Result that encapsulates the Error type of this library