Sha256: 79424805aa7197d1427ceac1e0e90e9e10d68b6d7e393fc75936e691399ec244
Contents?: true
Size: 291 Bytes
Versions: 2
Compression:
Stored size: 291 Bytes
Contents
module JWE module Alg # Direct (no-op) key encryption algorithm. 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jwe-0.4.0 | lib/jwe/alg/dir.rb |
jwe-0.3.1 | lib/jwe/alg/dir.rb |