Sha256: aca5da7e5d85e69505e05161d454c6ab52be40220af4c766f3cdfecec400f459

Contents?: true

Size: 409 Bytes

Versions: 5

Compression:

Stored size: 409 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

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

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-5.0.0 lib/rbnacl/hash/sha512.rb
rbnacl-4.0.2 lib/rbnacl/hash/sha512.rb
rbnacl-4.0.1 lib/rbnacl/hash/sha512.rb
rbnacl-4.0.0 lib/rbnacl/hash/sha512.rb
rbnacl-4.0.0.pre lib/rbnacl/hash/sha512.rb