class Digest::SHA3

Direct Known Subclasses

Defined in:

digest/sha3.cr

Constant Summary

DOMAIN = Domain::SHA3
HASH_SIZES = Int32.static_array(224, 256, 384, 512)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(hash_size = 512) #

[View source]

Class Method Detail

def self.base64digest(string_or_slice : String | Bytes) : String #

[View source]
def self.digest(string_or_bytes : String | Bytes) : Bytes #

[View source]
def self.hexdigest(string_or_slice : String | Bytes) : String #

[View source]

Instance Method Detail

def hexdigest : String #

[View source]
def input(s) #

Crystal-style method name


[View source]
def reset #

[View source]
def result #

[View source]
def update(s : String) #

Ruby-style method names


[View source]
def update(s : Bytes) #

[View source]