Sha256: 3ec5b7d5dd0c86a89ecb017aadb0a4b90feb3d0a807c3aa9c457da97f0996806

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

module JWE
  module Alg
    class Dir
      attr_accessor :key

      def initialize(key)
        self.key = key
      end

      def encrypt(_cek)
        ''
      end

      def decrypt(_encrypted_cek)
        key
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jwe-0.3.0 lib/jwe/alg/dir.rb
jwe-0.2.0 lib/jwe/alg/dir.rb
jwe-0.1.1 lib/jwe/alg/dir.rb