Sha256: 56c55edb432e187205ae4bad0c0f8312576e19dd955baca3a39852e4dd840edb
Contents?: true
Size: 344 Bytes
Versions: 19
Compression:
Stored size: 344 Bytes
Contents
# frozen_string_literal: true module Noise module Functions module Hash class Sha256 HASHLEN = 32 BLOCKLEN = 64 def hash(data) RbNaCl::Hash.sha256(data) end def hashlen HASHLEN end def blocklen BLOCKLEN end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems