Class: Ed25519Keccak::SHA3_512

Inherits:
Ed25519Base show all
Defined in:
lib/ed25519_keccak/sha3_512.rb

Overview

using SHA3(FIPS-202) as a hash function

Instance Method Summary collapse

Methods inherited from Ed25519Base

#secret_to_public, #sign, #verify

Constructor Details

#initializeSHA3_512

Returns a new instance of SHA3_512.



7
8
9
# File 'lib/ed25519_keccak/sha3_512.rb', line 7

def initialize()
  super( ->(s){ return SHA3::Digest.digest( :sha512 , s) } )
end