| Main index | Section 3 | Options |
#include <krb5.h>
krb5_string_to_key_data_salt_opaque() is the function that does all the work, the rest of the functions are just wrappers around krb5_string_to_key_data_salt_opaque() that calls it with default values.
krb5_string_to_key_data_salt_opaque() transforms the password with the given salt-string salt and the opaque, encryption type specific parameter opaque to a encryption key key according to the string to key function associated with enctype.
The key should be freed with krb5_free_keyblock_contents().
If one of the functions that doesn't take a krb5_salt as it argument krb5_get_pw_salt() is used to get the salt value.
krb5_get_pw_salt() get the default password salt for a principal, use krb5_free_salt() to free the salt when done.
krb5_free_salt() frees the content of salt.
| HEIMDAL | KRB5_STRING_TO_KEY (3) | July 10, 2006 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options! | ” |
| — The Unix Haters' handbook | ||