Xojo.Crypto.Hash

From Xojo Documentation

Method

Xojo.Crypto.Hash(data As Xojo.Core.MemoryBlock, algorithm As HashAlgorithms) As Xojo.Core.MemoryBlock

Supported for all project types and targets.

Creates a hash value for the data using the specified algorithm.

Sample Code

Using Xojo.Core
Using Xojo.Crypto
Dim hash As MemoryBlock
hash = Hash("YourPasswordSentence", Crypto.HashAlgorithms.SHA512)