Sha256: 591c627e062dd46c704ac71651dfc947e0e256310c6d0a927a78cf1aa3efa268

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

RSpec.describe RbNaCl::AEAD::XChaCha20Poly1305IETF do
  if RbNaCl::Sodium::Version.supported_version?("1.0.12")
    include_examples "aead" do
      let(:key)        { vector :aead_xchacha20poly1305_ietf_key }
      let(:message)    { vector :aead_xchacha20poly1305_ietf_message }
      let(:nonce)      { vector :aead_xchacha20poly1305_ietf_nonce }
      let(:ad)         { vector :aead_xchacha20poly1305_ietf_ad }
      let(:ciphertext) { vector :aead_xchacha20poly1305_ietf_ciphertext }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-7.1.1 spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb
rbnacl-7.1.0 spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb
rbnacl-7.0.0 spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb
rbnacl-6.0.1 spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb
rbnacl-6.0.0 spec/rbnacl/aead/xchacha20poly1305_ietf_spec.rb