Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

CCSHA384MBS 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-384 hash.
dim s as new CCSHA384MBS
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 SHA384(data as Ptr, dataLength as Integer) as Memoryblock
    • shared method SHA384(data as String) as Memoryblock

This class has no sub classes.

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


MBS Xojo Plugins