Platforms to show: All Mac Windows Linux Cross-Platform

Back to CCSHA1MBS class.

CCSHA1MBS.SHA1(data as Ptr, dataLength as Integer) as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS MacOSX Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
One-shot hash calculation with SHA-1.

Simply pass in a memoryblock with data and the size in bytes and receive digest as memoryblock. If you need to show digest to human, please use EncodingToHexMBS function.

See also:

CCSHA1MBS.SHA1(data as String) as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS MacOSX Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
One-shot hash calculation with SHA-1.
Example
dim m as MemoryBlock = CCSHA1MBS.SHA1("The quick brown fox jumps over the lazy dog")
MsgBox EncodingToHexMBS(m)

Simply pass in a string and receive digest as memoryblock. If you need to show digest to human, please use EncodingToHexMBS function.

See also:

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...