HPlogo HP-UX Reference Volume 4 of 5 > b

bigcrypt(3C)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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 characters of the previous encrypted segment as the salt for the next segment. This avoids duplicated ciphertext chunks when the password characters are repeated, so that the encryption of a segment involves the encryption of all the previous segments.

Each chipertext segment is concatenated, with the salt at the beginning, to form the entire encrypted string.

AUTHOR

bigcrypt was developed by SecureWare Inc.

SEE ALSO

crypt(3C).

© Hewlett-Packard Development Company, L.P.