🟩 Compute MD5
, SHA1
or SHA256
hashes for a stream of bytes
The Hashing library abstracts OS API to compute MD5, SHA1 and SHA256 hashes.
Hashing Algorithm | Description |
---|---|
SC::Hashing::TypeMD5 | Compute MD5 hash for the incoming stream of bytes. |
SC::Hashing::TypeSHA1 | Compute SHA1 hash for the incoming stream of bytes. |
SC::Hashing::TypeSHA256 | Compute SHA256 hash for the incoming stream of bytes. |
🟩 Usable
The library is very simple it it has what is needed so far (mainly by Build).
Compute MD5, SHA1 or SHA256 hash for stream of data.
Data can be added until needed with SC::Hashing::add call. SC::Hashing::getHash will generate an actual SC::Hashing::Result holding the computed hash.
Example:
Example with update (for hashing longer streams of data):
🟦 Complete Features:
💡 Unplanned Features: