jwt/ruby-jwa

View on GitHub
lib/jwa/algorithms/content_encryption/a256_gcm.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'jwa/algorithms/content_encryption/aes_gcm'

module JWA
  module Algorithms
    module ContentEncryption
      class A256Gcm
        include AesGcm

        class << self
          def enc_name
            'A256GCM'
          end

          def key_length
            32
          end

          def cipher_name
            'aes-256-gcm'
          end
        end
      end
    end
  end
end