Platforms to show: All Mac Windows Linux Cross-Platform

Back to SHA3MBS class.

SHA3MBS.Hash(data as string, Rate as UInt32, capacity as UInt32, outputLength as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convenience function to quickly create a hash for a given string.
Example
dim t as string = "The quick brown fox jumps over the lazy dog"
dim h as string = SHA3MBS.Hash(t, 1088, 512, 32)

// encode as text to display
h = EncodeHex(h)
// shows 4d741b6f1eb29cb2a9b9911c82f56fa8d73b04959d3d9d222895df6c0b28aa15
MsgBox h

Returns the digest as text string with hexadecimal digits.
Or empty string in case of any error.
Before you show it to the user, pass it through EncodingToHexMBS.

SHA3MBS.HashText(data as string, Rate as UInt32, capacity as UInt32, outputLength as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convenience function to quickly create a hash for a given string.
Example
dim t as string = "The quick brown fox jumps over the lazy dog"
dim h as string = SHA3MBS.HashText(t, 1088, 512, 32)

// shows 4d741b6f1eb29cb2a9b9911c82f56fa8d73b04959d3d9d222895df6c0b28aa15
MsgBox h

Returns the digest as text string with hexadecimal digits.
Or empty string in case of any error.

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


The biggest plugin in space...