These functions are used to encrypt and decrypt data.
krb5_encrypt ();
puts the encrypted version of
Fa data
(of size
Fa len )
in
Fa result .
If the encryption type supports using derived keys,
Fa usage
should be the appropriate key-usage.
krb5_encrypt_EncryptedData ();
does the same as
krb5_encrypt (,);
but it puts the encrypted data in a
Fa EncryptedData
structure instead. If
Fa kvno
is not zero, it will be put in the
Fa kvno field in the
Fa EncryptedData .
krb5_decrypt (,);
and
krb5_decrypt_EncryptedData ();
works similarly.