Sha256: 28fada8150d6d38cc0ff2f9ca33af44351378cf53ccaaecb0ea5234e47f5db60

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 Bytes

Contents

# encoding: binary
module RbNaCl
  module Hash
    # Provides a binding for the SHA256 function in libsodium
    module SHA256
      extend Sodium
      sodium_type      :hash
      sodium_primitive :sha256
      sodium_constant  :BYTES
      sodium_function  :hash_sha256,
        :crypto_hash_sha256,
        [:pointer, :pointer, :ulong_long]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rbnacl-3.1.2 lib/rbnacl/hash/sha256.rb
rbnacl-3.1.1 lib/rbnacl/hash/sha256.rb
rbnacl-3.1.0 lib/rbnacl/hash/sha256.rb
rbnacl-3.0.1 lib/rbnacl/hash/sha256.rb
rbnacl-3.0.0 lib/rbnacl/hash/sha256.rb
rbnacl-2.0.0 lib/rbnacl/hash/sha256.rb
rbnacl-2.0.0.pre lib/rbnacl/hash/sha256.rb