Crypto.SHA2 512

From Xojo Documentation

Revision as of 14:52, 7 October 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Crypto.SHA2_512(data As MemoryBlock) As MemoryBlock

New in 2021r3

Supported for all project types and targets.

Returns the SHA512 hash value of the data.


Refer to SHA512 on Wikipedia.

This is equivalent of calling the Hash method with SHA512 as the algorithm:

Var encryptedValue As String
encryptedValue = Crypto.Hash("DataToEncrypt", Crypto.HashAlgorithms.SHA512)