Sha256: 7856120a6cc6448c3804987513d5bcb8772031502395bc81c5348a6f9bf6e380

Contents?: true

Size: 502 Bytes

Versions: 5

Compression:

Stored size: 502 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

module RbNaCl
  module Signatures
    # The EdDSA signature system implemented using the Ed25519 elliptic curve
    module Ed25519
      extend Sodium

      sodium_type      :sign
      sodium_primitive :ed25519
      sodium_constant  :SEEDBYTES
      sodium_constant  :PUBLICKEYBYTES, name: :VERIFYKEYBYTES
      sodium_constant  :SECRETKEYBYTES, name: :SIGNINGKEYBYTES
      sodium_constant  :BYTES,          name: :SIGNATUREBYTES
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-7.1.2 lib/rbnacl/signatures/ed25519.rb
rbnacl-7.1.1 lib/rbnacl/signatures/ed25519.rb
rbnacl-7.1.0 lib/rbnacl/signatures/ed25519.rb
rbnacl-7.0.0 lib/rbnacl/signatures/ed25519.rb
rbnacl-6.0.1 lib/rbnacl/signatures/ed25519.rb