Class: Toybox.Cryptography.Hash
- Inherits:
-
Toybox.Lang.Object
Overview
Compute the Hash digest of a message.
See Also:
Instance Method Summary collapse
-
digest() as Lang.ByteArray
Get the current digest of the message that has been hashed.
-
initialize(options as { :algorithm as Cryptography.HashAlgorithm })
Constructor.
-
update(message as Lang.ByteArray) as Void
Continue hashing of a message by consuming the next chunk of data.
Instance Method Details
digest() as Lang.ByteArray
Get the current digest of the message that has been hashed.
Note:
This method resets the state of the Hash object, which can be used to compute a new hash
initialize(options as { :algorithm as Cryptography.HashAlgorithm })
Constructor
update(message as Lang.ByteArray) as Void
Continue hashing of a message by consuming the next chunk of data.
Repeated calls are equivalent to a single call with the concatenation of all the arguments.