Platforms to show: All Mac Windows Linux Cross-Platform

Back to DigestMBS class.

DigestMBS.blake2b512 as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for Black 2b 512.
Example
Var d As DigestMBS = DigestMBS.blake2b512

d.Process "The quick brown fox jumps over the lazy dog"

Var hash As String = d.FinalText

Break
// A8ADD4BDDDFD93E4877D2746E62817B116364A1FA7BC148D95090BC7333B3673F82401CF7AA2E4CB1ECD90296E3F14CB5413F8ED77BE73045B13914CDCD6A918

see
https://en.wikipedia.org/wiki/BLAKE_(hash_function)

DigestMBS.blake2s256 as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for Black 2s 256.
Example
Var d As DigestMBS = DigestMBS.blake2s256

d.Process "The quick brown fox jumps over the lazy dog"

Var hash As String = d.FinalText

Break
// 606BEEEC743CCBEFF6CBCDF5D5302AA855C256C29B88C8ED331EA1A6BF3C8812

DigestMBS.DigestByName(name as string) as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries a digest by name.
Example
Var d as DigestMBS = DigestMBS.DigestByName("md5")
MsgBox str(d.Size)

Returns nil if name is not registered.
May need string to be in upper case.

DigestMBS.DigestNames as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 18.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries list of all digest algorithms.
Example
// see hash and encryption algorithms available
Var CipherNames() as string = CipherMBS.CipherNames
Var DigestNames() as string = DigestMBS.DigestNames
Break

The list may not be the same for Mac, Windows and Linux.

Current list:

blake2b512, blake2s256, id-rsassa-pkcs1-v1_5-with-sha3-224, id-rsassa-pkcs1-v1_5-with-sha3-256, id-rsassa-pkcs1-v1_5-with-sha3-384, id-rsassa-pkcs1-v1_5-with-sha3-512, md4, md4WithRSAEncryption, md5, md5-sha1, md5WithRSAEncryption, mdc2, mdc2WithRSA, ripemd, ripemd160, ripemd160WithRSA, rmd160, RSA-MD4, RSA-MD5, RSA-MDC2, RSA-RIPEMD160, RSA-SHA1, RSA-SHA1-2, RSA-SHA224, RSA-SHA256, RSA-SHA3-224, RSA-SHA3-256, RSA-SHA3-384, RSA-SHA3-512, RSA-SHA384, RSA-SHA512, RSA-SHA512/224, RSA-SHA512/256, RSA-SM3, sha1, sha1WithRSAEncryption, sha224, sha224WithRSAEncryption, sha256, sha256WithRSAEncryption, sha3-224, sha3-256, sha3-384, sha3-512, sha384, sha384WithRSAEncryption, sha512, sha512-224, sha512-224WithRSAEncryption, sha512-256, sha512-256WithRSAEncryption, sha512WithRSAEncryption, shake128, shake256, sm3, sm3WithRSAEncryption, ssl3-md5, ssl3-sha1, whirlpool

DigestMBS.MD5 as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for MD5.
Example
Var d as DigestMBS = DigestMBS.MD5
d.Process "Hello World"
Var result as string = EncodeHex(d.Final)
MsgBox result

DigestMBS.MDC2 as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for MDC2.
Example
Var d as DigestMBS = DigestMBS.MDC2
d.Process "Hello World"
Var result as string = EncodeHex(d.Final)
MsgBox result

DigestMBS.RipeMD160 as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for RipeMD160.
Example
Var d as DigestMBS = DigestMBS.RipeMD160
d.Process "Hello World"
Var result as string = EncodeHex(d.Final)
MsgBox result

DigestMBS.whirlpool as DigestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher for whirlpool.
Example
Var d As DigestMBS = DigestMBS.whirlpool

d.Process "The quick brown fox jumps over the lazy dog"

Var hash As String = d.FinalText

Break
// B97DE512E91E3828B40D2B0FDCE9CEB3C4A71F9BEA8D88E75C4FA854DF36725FD2B52EB6544EDCACD6F8BEDDFEA403CB55AE31F03AD62A5EF54E42EE82C3FB35

see
https://en.wikipedia.org/wiki/Whirlpool_(hash_function)

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


The biggest plugin in space...