Skip to content

Commit

Permalink
fix rubocop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
jshawl committed Mar 7, 2024
1 parent ed5a4b4 commit fb62bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rbnacl/password_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ module PasswordHash
# @raise [CryptoError] If calculating the digest fails for some reason.
#
# @return [String] The scrypt digest as raw bytes
def self.scrypt(password, salt, opslimit = SCrypt::OPSLIMIT_SENSITIVE, memlimit = SCrypt::MEMLIMIT_SENSITIVE, digest_size = 64)
def self.scrypt(password, salt, opslimit = SCrypt::OPSLIMIT_SENSITIVE, memlimit = SCrypt::MEMLIMIT_SENSITIVE,
digest_size = 64)
SCrypt.new(opslimit, memlimit, digest_size).digest(password, salt)
end

Expand Down

0 comments on commit fb62bc3

Please sign in to comment.