lib/xml/kit/crypto/oaep_cipher.rb in xml-kit-0.1.13 vs lib/xml/kit/crypto/oaep_cipher.rb in xml-kit-0.1.14

- old
+ new

@@ -2,11 +2,12 @@ module Xml module Kit module Crypto class OaepCipher + ALGORITHM = "#{::Xml::Kit::Namespaces::XMLENC}rsa-oaep-mgf1p".freeze ALGORITHMS = { - 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p' => true, + ALGORITHM => true }.freeze def initialize(_algorithm, key) @key = key end