diff --git a/lib/argon2id/extension.rb b/lib/argon2id/extension.rb index 43dc2ba..99e7140 100644 --- a/lib/argon2id/extension.rb +++ b/lib/argon2id/extension.rb @@ -35,6 +35,8 @@ def self.hash_encoded(t_cost, m_cost, parallelism, pwd, salt, hashlen) raise Error, e.message end + private_class_method :hash_encoded + private def verify(pwd) @@ -65,4 +67,3 @@ def verify(pwd) require "argon2id/argon2id" end end -