Questions tagged [scrypt]

SCrypt is a key derivation function (KDF) based on the concept of sequential memory-hard functions mostly used for password hashing.

SCrypt is a key derivation function (KDF) based on the concept of sequential memory-hard functions mostly used for password hashing.

Resources

141 questions
1
vote
0 answers

How to use scrypt in php shared hosting

I am just learning php I want to use scrypt for password hashing but according to this website: https://scott.arciszewski.me/blog/2013/10/php-scrypt-setup I need to have root privilege in the webserver to use scrypt. But we don't have direct access…
Sugumar Venkatesan
  • 4,019
  • 8
  • 46
  • 77
1
vote
0 answers

compiling lambdaworks scrypt for android

I developing an Android app which need to use scrypt library from lambaworks ( this one) which only contains the .so file only for one architecture and they write that you must compile the library yourself for all other platoform but I really don't…
Apperside
  • 3,542
  • 2
  • 38
  • 65
1
vote
2 answers

Authentication with salted password

I'm using scrypt to generate strong hashes of the password of the user. I want to log the user in, but don't want to send the password in plaintext over the wire, how do I check if the password is correct (without a roundtrip), since it is…
Leandros
  • 16,805
  • 9
  • 69
  • 108
1
vote
1 answer

scrypt.js fails with N greater than 2^14

This works var scrypt = scrypt_module_factory(); var pwh=scrypt.crypto_scrypt(scrypt.encode_utf8("pleaseletmein"), scrypt.encode_utf8("SodiumChloride"), Math.pow(2,14), 8, 1, 224); This fails var scrypt =…
anthonyc
  • 187
  • 3
  • 13
1
vote
1 answer

How to use scrypt to produce a 256-bit key?

I'm using scrypt to produce key derivation, but the problem is the output is bigger than 256bit and I want to use it in AES-GCM with 256 bit key. So how can I do that? I'm tying to make an application on Android. Edit : I'm sorry guys for not…
1
vote
1 answer

nodejs scrypt crashes without error

I am using nodejs library scrypt to hash my passwords. scrypt.hash(new Buffer(data.password), scryptParameters, function(err, res) { console.log(res); //scrypt.verify(res, "incorrect password"); }); which works perfectly. But, the problem is…
user3721031
  • 57
  • 1
  • 1
  • 6
1
vote
1 answer

Why does different scrypt implementation produce different results?

I implemented a simple gode for generating passwords deterministically using Go, using this scrypt implementation. My code is here, this is a an extraction of the relevant parts: const keyLen = 8 // recommended cost parameters for interactive login…
Erik Engheim
  • 8,182
  • 4
  • 36
  • 51
1
vote
1 answer

'The specified module could not be found' error when using 'scrypt' module in node.js

I'm trying to use 'scrypt' module. The problem is that when I try to run my nodejs application (node app.js), I get this error: C:\Users\A\Documents\B\C>node app.js module.js:356 Module._extensions[extension](this, filename); …
1
vote
2 answers

Why is `lookup_gap=2` faster than `lookup_gap=1` when memory is enough

I'm mining Litecoins using an AMD Radeon HD7850 with 2G global memory, and my conf is below: thread-concurrency=4096 lookup-gap=2 After reading the algorithms of scrypt130511.cl, I discovered lookup-gap is used for time memory tradeoff. It consumes…
clyfish
  • 10,240
  • 2
  • 31
  • 23
1
vote
1 answer

Adding scrypt to Objective-C project

I want to add the SCrypt library to my XCode Objective-C project. However I am getting a very large number of error of the following type: blkcpy(void * dest, void * src, size_t len) { size_t * D = dest; //cannot initialize a variable of type…
user1028028
  • 6,323
  • 9
  • 34
  • 59
1
vote
1 answer

Trouble storing scrypted password in MongoDB

I'm using the technique described here: https://pypi.python.org/pypi/scrypt/ This is the code for my registration function: @app.route('/register', methods=['POST', 'GET']) def register(): result = db.users.find_one({"username" :…
Bob Fred
  • 25
  • 4
1
vote
1 answer

how can a bruteforce occur on a pbkdf2?

am sorry for this question, but i was asking: when using MD5, we get a hash, so to get the password we hash all the words untill we find the same hash. but in a key derivation algorithme such pbkdf2 or bcrypt or scrypt, what a hacker need to seek?…
Abdelouahab Pp
  • 4,252
  • 11
  • 42
  • 65
1
vote
2 answers

Does scrypt use a hash algorithm?

Does the scrypt program use a hashing algorithm behind the scenes? What's the output size of scrypt (I mean the underlying algorithm, is that 4096 bits)?
Tower
  • 98,741
  • 129
  • 357
  • 507
0
votes
0 answers

Importing user into a Firebase tenant from parent project gives INVALID_PASSWORD error?

I've followed the steps to import a user from a Firebase project into one of its tenants, and the process seems to complete OK (no errors), but when I attempt to login with the email/password into the tenant, I get an invalid-password error. I'm…
MLH
  • 21
  • 4
0
votes
0 answers

How to to disable customer required place order to chat with vendor

Hello i bought ecommerce php script i have some basic coding skills i want to customize but in this script customer cannot chat with seller until he placed order so how can i disable it.this picture show after placed order this picture show Before…
Amii Duly
  • 1
  • 2