Sha256: ce14802c532b34780851d5c7d8d8c2a110cfc23f45a0f829f54de0f221b3ac87

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 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

3 entries across 3 versions & 1 rubygems

Version Path
rbnacl-3.4.0 lib/rbnacl/hash/sha512.rb
rbnacl-3.3.0 lib/rbnacl/hash/sha512.rb
rbnacl-3.2.0 lib/rbnacl/hash/sha512.rb