lib/rbnacl/password_hash/scrypt.rb in rbnacl-7.1.1 vs lib/rbnacl/password_hash/scrypt.rb in rbnacl-7.1.2
- old
+ new
@@ -21,9 +21,11 @@
extend Sodium
sodium_type :pwhash
sodium_primitive :scryptsalsa208sha256
sodium_constant :SALTBYTES
+ sodium_constant :OPSLIMIT_SENSITIVE
+ sodium_constant :MEMLIMIT_SENSITIVE
sodium_function :scrypt,
:crypto_pwhash_scryptsalsa208sha256,
%i[pointer ulong_long pointer ulong_long pointer ulong_long size_t]