class

Crypto::Digest::SHA512HMAC

Inherits Digest < Reference < Object

Implement HMAC with SHA-512, and can be used for message authentication codes or as a random oracle.

See Crystal API docs for details on how to use Digest interface

Constructors

new(key : Bytes)
Source

Instance methods

digest_size

Returns the digest output size in bytes.

Source
final_impl(dst : Bytes) : Nil

Stores the output digest of #digest_size bytes in dst.

Source
reset_impl

Resets the object to it's initial state.

Source
update_impl(data : Bytes) : Nil

Hashes data incrementally.

Source