sha1.h File Reference

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.

Detailed Description

A simple SHA-1 implementation.


Function Documentation

void SHA1 ( unsigned char *  ptr,
unsigned int  size,
unsigned char *  outbuf 
)

Hashes a buffer using SHA-1.

Parameters:
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.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated by  doxygen 1.6.3