Platforms to show: All Mac Windows Linux Cross-Platform

CCSHA512MBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS MacOSX Plugin 11.3 Yes No No Yes, macOS only No
Function: The class for SHA-512 hash.
dim s as new CCSHA512MBS
s.Update "The quick brown fox jumps over the lazy dog"

dim m as MemoryBlock = s.Finalize
MsgBox EncodingToHexMBS(m)
Notes: This class uses the CommonCrypto interface which is available on Mac OS X 10.4 or newer and also on iOS. So you can use it to get the same results on both operation systems. Also as you simply use Apple provided encryption, you don't need to apply for an export license for this classes here.

Feedback, Comments & Corrections

  • 4 methods
  • 2 shared methods
    • shared method SHA512(data as Ptr, dataLength as Integer) as Memoryblock
    • shared method SHA512(data as String) as Memoryblock

This class has no sub classes.

Blog Entries

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

CCSHA384MBS   -   CDAngularAxisMBS

The biggest plugin in space...

MBS Xojo PDF Plugins