74 bool Result(
unsigned *message_digest_array);
81 void Input(
const unsigned char *message_array,
88 void Input(
const char *message_array,
94 void Input(
unsigned char message_element);
99 void Input(
char message_element);
130 void ProcessMessageBlock();
140 inline unsigned CircularShift(
int bits,
unsigned word);
145 unsigned Length_High;
147 unsigned char Message_Block[64];
148 int Message_Block_Index;
void Input(const unsigned char *message_array, unsigned length)
Append data to the the message.
bool Result(unsigned *message_digest_array)
Retrieves the 160-bit message digest.
This class implements the Secure Hashing Standard as defined in FIPS PUB 180-1 published April 17...
void Reset()
Initializes the class member variables in preparation for computing a new message digest...
SHA1 & operator<<(const char *message_array)
Convenience operator for appending string data to the the message.