Sha256: 59938371d85d43044e529fc94402df78d32f3140028b3ee6186e664a5394c4ba

Contents?: true

Size: 551 Bytes

Versions: 8

Compression:

Stored size: 551 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

RSpec.describe RbNaCl::AEAD::ChaCha20Poly1305IETF do
  if RbNaCl::Sodium::Version.supported_version?("1.0.9")
    include_examples "aead" do
      let(:key)        { vector :aead_chacha20poly1305_ietf_key }
      let(:message)    { vector :aead_chacha20poly1305_ietf_message }
      let(:nonce)      { vector :aead_chacha20poly1305_ietf_nonce }
      let(:ad)         { vector :aead_chacha20poly1305_ietf_ad }
      let(:ciphertext) { vector :aead_chacha20poly1305_ietf_ciphertext }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rbnacl-7.1.1 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-7.1.0 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-7.0.0 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-6.0.1 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-6.0.0 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-5.0.0 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-4.0.2 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb
rbnacl-4.0.1 spec/rbnacl/aead/chacha20poly1305_ietf_spec.rb