crypt_r

Name

crypt_r -- Cryptographic string encoding function

Synopsis

#include <crypt.h>

char * crypt_r(const char * key, const char * salt, struct crypt_data * data);

Description

The crypt_r() function is a re-entrant version of the crypt() function. crypt_r() shall behave as specified for crypt() in POSIX 1003.1-2008 (ISO/IEC 9945-2009), but with an additional parameter, a pointer to a structure which is used to store result data and bookkeeping information.

The caller should set the initialized field of the crypt_data structure to zero before the first call to crypt_r().

Notes

INSERT TEXT HERE

See Also

crypt(), setkey_r(), encrypt_r().