lib/xml/kit/crypto/rsa_cipher.rb in xml-kit-0.1.11 vs lib/xml/kit/crypto/rsa_cipher.rb in xml-kit-0.1.12
- old
+ new
@@ -1,11 +1,13 @@
+# frozen_string_literal: true
+
module Xml
module Kit
module Crypto
class RsaCipher
- ALGORITHM = "#{::Xml::Kit::Namespaces::XMLENC}rsa-1_5"
+ ALGORITHM = "#{::Xml::Kit::Namespaces::XMLENC}rsa-1_5".freeze
- def initialize(algorithm, key)
+ def initialize(_algorithm, key)
@key = key
end
def self.matches?(algorithm)
ALGORITHM == algorithm