Platforms to show: All Mac Windows Linux Cross-Platform

DigestMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: The OpenSSL class for calculating hashes.
dim d as DigestMBS = DigestMBS.MD5
d.Process "Hello World"
dim result as string = EncodeHex(d.Final)
MsgBox result
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

  • 3 properties
  • 7 methods
  • 10 shared methods
    • shared method DigestByName(name as string) as DigestMBS
    • shared method DigestNames as String()
    • shared method MD5 as DigestMBS
    • shared method MDC2 as DigestMBS
    • shared method RipeMD160 as DigestMBS
    • shared method SHA1 as DigestMBS
    • shared method SHA224 as DigestMBS
    • shared method SHA256 as DigestMBS
    • shared method SHA384 as DigestMBS
    • shared method SHA512 as DigestMBS

This class has no sub classes.

Some methods using this class:

  • CipherMBS.BytesToKey(cipher as CipherMBS, digest as DigestMBS, Salt as MemoryBlock, InputKey as Memoryblock, IterationCount as Integer, byref OutputKey as memoryblock, byref IV as memoryblock) as boolean

Some examples which use this class:

Blog Entries

Xojo Developer Magazine

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

DeclareLibraryMBS   -   DirectorySizeMBS

The biggest plugin in space...

MBS Xojo tutorial videos