Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CCSHA256MBS 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-256 hash.
Example:
dim s as new CCSHA256MBS
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 SHA256(data as Ptr, dataLength as Integer) as Memoryblock
    • shared method SHA256(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.


CCSHA224MBS   -   CCSHA384MBS




Links
MBS FileMaker Plugins