get_seed_es(3)get_seed_es(3)NAMEget_seed_es - Obtain a drand48 seed value for an extended profile
(Enhanced Security)
SYNOPSIS
#include <sys/types.h> #include <sys/security.h> #include <prot.h>
long get_seed_es(
struct es_passwd *prpwd );
LIBRARY
Security Library (libsecurity.so)
PARAMETERS
Specifies a pointer to the protected profile structure (prpasswd)
DESCRIPTION
Returns a hashed value of the protected profile for use in random-num‐
ber generation, such as that used with lrand48 or drand48 and so forth.
The get_seed_es() function is used by the login and passwd commands
under ENHANCED security to initialize the seed value for password gen‐
eration.
RETURN VALUES
The computed hash value for the extended profile.
SEE ALSOgetespwent(3)get_seed_es(3)