Skip to content

libsodium.GenericHashDigest

Andrew Lambert edited this page Mar 11, 2017 · 13 revisions

libsodium.GenericHashDigest

##Class Declaration

 Protected Class GenericHashDigest

##Remarks This class computes a fixed-length fingerprint for an arbitrarily long message. Usage is similar to the built-in MD5Digest class but uses the much faster and more secure BLAKE2b algorithm. You may optionally use a secret key when hashing the data.

This class also supports keyed and un-keyed SHA256 and SHA512 digestion.

###Caution This class is not suitable for password hashing or password-based key derivation. Use the Password class instead.

##Methods

##Shared methods

##See also

Clone this wiki locally