Sha256: 9e62521a3d4fc4103db6b073c3c4c31ccfa93c4cf79e2e0a81c3b04b012e5159
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
class Blake2 class Key def bytes @bytes end def initialize(bytes) @bytes = bytes end def self.from_string(str) new(@bytes = str.bytes) end def self.from_hex(hex_str) new(@bytes = [hex_str].pack("H*").bytes) end def self.none new(@bytes = []) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blake2-0.1.0 | lib/blake2/key.rb |