Go to the source code of this file.
Functions | |
| void | SHA1 (unsigned char *ptr, unsigned int size, unsigned char *outbuf) |
| Hashes a buffer using SHA-1. | |
A simple SHA-1 implementation.
| void SHA1 | ( | unsigned char * | ptr, | |
| unsigned int | size, | |||
| unsigned char * | outbuf | |||
| ) |
Hashes a buffer using SHA-1.
| ptr | a pointer to the data to be hashed. | |
| size | the size of the data to be hashed in bytes. | |
| outbuf | a pointer to where the hash is to be placed. Must be at least 20 bytes long. |
1.6.3