These functions are used to initialize an encryption context that can be used to encrypt or checksum data.
The krb5_crypt_init initializes the encrytion context crypto. The key parameter is the key to use for encryption, and checksums. The encryption type to use is taken from the key, but can be overridden with the enctype parameter.
krb5_crypto_destroy frees a previously allocated encrypion context.