Sha256: 75522af65271946be99cb11c7e2604617b2563274e44fb953348d4f0c12be2dc

Contents?: true

Size: 387 Bytes

Versions: 7

Compression:

Stored size: 387 Bytes

Contents

# encoding: binary
module RbNaCl
  module Hash
    # Provides the binding for the SHA512 hash function
    module SHA512
      extend Sodium
      sodium_type      :hash
      sodium_primitive :sha512
      sodium_constant  :BYTES
      sodium_function  :hash_sha512,
                       :crypto_hash_sha512,
                       [: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/sha512.rb
rbnacl-3.1.1 lib/rbnacl/hash/sha512.rb
rbnacl-3.1.0 lib/rbnacl/hash/sha512.rb
rbnacl-3.0.1 lib/rbnacl/hash/sha512.rb
rbnacl-3.0.0 lib/rbnacl/hash/sha512.rb
rbnacl-2.0.0 lib/rbnacl/hash/sha512.rb
rbnacl-2.0.0.pre lib/rbnacl/hash/sha512.rb