TSHA512
An SHA-512 message digest.
Example
SuperStrict
Framework BRL.StandardIO
Import Crypto.SHA512Digest
Local data:String = "Hello Digest World !!"
Local digest:TMessageDigest = GetMessageDigest("SHA-512")
If digest Then
Print digest.Digest(data)
End If
Methods
Method Update:Int(data:Byte Ptr, dataLen:Int) Override
Updates the hash with dataLen bytes of data.
Method Finish:Int(digest:Byte[]) Override
Finishes hashing and produces the digest, filling digest with the hashed bytes.
The hashing state is reset, ready to create a new digest.