HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
b
bigcrypt(3C) bigcrypt(3C)
NAME
bigcrypt - generate hashing encryption on large strings
SYNOPSIS
#include <hpsecurity.h>
#include <prot.h>
char *bigcrypt(char *key, char *salt);
DESCRIPTION
bigcrypt() acts like crypt(3C), but handles much larger strings. bigcrypt takes the segments of
cleartext and encrypts them individually, at first using the salt passed in, and then using the first two char-
acters of the previous encrypted segment as the salt for the next segment. This avoids duplicated cipher-
text chunks when the password characters are repeated, so that the encryption of a segment involves the
encryption of all the previous segments.
Each ciphertext segment is concatenated, with the salt at the beginning, to form the entire encrypted
string.
AUTHOR
bigcrypt was developed by HP.
SEE ALSO
crypt(3C).
Section 3−−38 − 1 − HP-UX Release 11i: December 2000
___
___