Sha256: 60049df24f01a08be7179afc2289bf8aba06fee843c7ddbadd917d1ac7c9e9e0

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 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,
                      %i[pointer pointer ulong_long]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rbnacl-7.1.2 lib/rbnacl/hash/sha512.rb
rbnacl-7.1.1 lib/rbnacl/hash/sha512.rb
rbnacl-7.1.0 lib/rbnacl/hash/sha512.rb
rbnacl-7.0.0 lib/rbnacl/hash/sha512.rb
rbnacl-6.0.1 lib/rbnacl/hash/sha512.rb
rbnacl-6.0.0 lib/rbnacl/hash/sha512.rb