'+---------------+---------------------------------------------------+
'| ###### ###### |     .--. .         .-.                            |
'| ##  ## ##   # |     |   )|        (   ) o                         |
'| ##  ##  ##    |     |--' |--. .-.  `-.  .  .-...--.--. .-.        |
'| ######   ##   |     |  \ |  |(   )(   ) | (   ||  |  |(   )       |
'| ##      ##    |     '   `'  `-`-'  `-'-' `-`-`|'  '  `-`-'`-      |
'| ##     ##   # |                            ._.'                   |
'| ##     ###### |  Sources & Documents placed in the Public Domain. |
'+---------------+---------------------------------------------------+
'|                                                                   |
'| === sha2.bm ===                                                   |
'|                                                                   |
'| == The FUNCTIONs to compute the SHA2 Message-Digest in QB64 from  |
'| == either a single string message or a complete file.             |
'|                                                                   |
'+-------------------------------------------------------------------+
'| Done by RhoSigma, R.Heyder, provided AS IS, use at your own risk. |
'| Find me in the QB64 Forum or mail to support@rhosigma-cw.net for  |
'| any questions or suggestions. Thanx for your interest in my work. |
'+-------------------------------------------------------------------+

SHA2 Message-Digest


Build the SHA2 Message-Digest from any given file or string. This library is based on the SHA2 sources from Notepad++. SHA2 is a set of cryptographic hash functions designed by the United States National Security Agency (NSA) and patented in US patent 6829355. The United States has released the patent under a royalty-free license, see subfolder SHA2-Hash\license. However, my implementation of the QB64 wrapper library is Public Domain.


Table of Contents