Class: Ed25519Keccak::SHA3_512
- Inherits:
-
Ed25519Base
- Object
- Ed25519Base
- Ed25519Keccak::SHA3_512
- Defined in:
- lib/ed25519_keccak/sha3_512.rb
Overview
using SHA3(FIPS-202) as a hash function
Instance Method Summary collapse
-
#initialize ⇒ SHA3_512
constructor
A new instance of SHA3_512.
Methods inherited from Ed25519Base
#secret_to_public, #sign, #verify
Constructor Details
#initialize ⇒ SHA3_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 |