1 krb5_c_make_random_key - Generate an enctype-specific random encryption key.
2 ==============================================================================
6 .. c:function:: krb5_error_code krb5_c_make_random_key(krb5_context context, krb5_enctype enctype, krb5_keyblock * k5_random_key)
13 **[in]** **context** - Library context
15 **[in]** **enctype** - Encryption type of the generated key
17 **[out]** **k5_random_key** - An allocated and initialized keyblock
24 - 0 Success; otherwise - Kerberos error codes
35 Use :c:func:`krb5_free_keyblock_contents()` to free *k5_random_key* when no longer needed.