Class: Ed25519Keccak::Keccak512

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

Overview

using Keccak(original) as a hash function

Instance Method Summary collapse

Methods inherited from Ed25519Base

#secret_to_public, #sign, #verify

Constructor Details

#initializeKeccak512

Returns a new instance of Keccak512.



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

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