The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SHA1FromStringOld


Unit:SDL_dstruct
Class:none
Declaration:function SHA1FromStringOld (const InString: string): TSHACode;

The function SHA1FromStringOld calculates the SHA-1 digest of the string InString. This is an outdated version which assumes the string to be a 1-byte ASCII string. DO NOT USE it in new designs (it's just kept for compatibility reasons), use SHA1FromString instead.

 

Hint: Please note that this routine has been derived from code originally published by TurboPower under the Mozilla Public License. See SourceForge for Details.



Last Update: 2023-Nov-12