source: project/release/4/modular-crypt/trunk/common.c @ 22216

Last change on this file since 22216 was 22216, checked in by sjamaan, 9 years ago

Add initial code for crypt egg

File size: 436 bytes
Line 
1/*
2 * Written by Solar Designer and placed in the public domain.
3 *
4 * This was extracted from crypt_gensalt.c, which contained all the
5 * salt generating functions in the bcrypt package, except for blowfish
6 */
7unsigned char _crypt_itoa64[64 + 1] =
8        "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
9
10#ifndef MIN
11#define MIN(a,b)     ((a)<(b)?(a):(b))
12#endif
13#ifndef MAX
14#define MAX(a,b)     ((a)>(b)?(a):(b))
15#endif
Note: See TracBrowser for help on using the repository browser.