Module: Reth::Utils
Instance Method Summary collapse
Instance Method Details
#mk_privkey(seed) ⇒ Object
16 17 18 |
# File 'lib/reth/utils.rb', line 16 def mk_privkey(seed) keccak256 seed end |
#mk_random_privkey ⇒ Object
12 13 14 |
# File 'lib/reth/utils.rb', line 12 def mk_random_privkey SecureRandom.random_bytes(32) end |