A fine-tuned implementation of the SHA256 hashing algorithm.
Dependents: EntropySource Wallet_v1
Diff: SHA256.h
- Revision:
- 6:c0ed1bf37651
- Parent:
- 5:246096ab9e56
--- a/SHA256.h Mon Jun 20 11:11:10 2011 +0000 +++ b/SHA256.h Mon Jun 20 13:21:38 2011 +0000 @@ -99,11 +99,11 @@ /// /// @returns a std::string containing the digest in hexadecimal ascii. std::string hexString(); - -private: - void process_chunk(); + +protected: int length; unsigned int hash[8]; unsigned int w[16]; + void process_chunk(); };