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
2
votes
2 answers

scrypt support in Symfony2

Could someone please point out an scrypt bundle for Symfony2 available which could be used? I could not find much information on scrypt (or even bcrypt for Symfony2), and from what I can gather, there is not a PHP version available for…
kumarharsh
  • 18,961
  • 8
  • 72
  • 100
2
votes
0 answers

Read NFC Chips using the ACR122U and Python 3

I would like to read NFC cards I own and print something according to the specific ID of the CHip. Let's say I have 3 cards of ID: 1,2,3. I would like to make a python script allowing me to print 'Card 1' for ID 1... and so on. For now, I have…
2
votes
2 answers

Difference between scrypt package and crypto module in Node?

What is the difference between the scrypt package on NPM and the scrypt functions in the built-in crypto module?
laptou
  • 6,389
  • 2
  • 28
  • 59
2
votes
2 answers

Cannot install scypt on python2.7

I could not get pip install scrypt to work, after reading a round a bit I tried installing Visual Studio 2017, that did not work, then I tried to following the example from Windows Compilers MinGW-w64 is an alternative C/C++ compiler that works…
Never Nor
  • 377
  • 2
  • 16
2
votes
0 answers

How does Crypt::ScryptKDF::scrypt_hash acutally hash the input?

I was thinking some time if I should post that question here or at crypto.stackexchange.com. I think the question is more related to implementation than to theory, so here we go: I have decided to use scrypt as the password hashing method for my…
Binarus
  • 4,005
  • 3
  • 25
  • 41
2
votes
2 answers

Installing Python package scrypt with Python 3.6

I've been trying to install the Python package scrypt on my Windows 64 bit laptop, because another package that I want to use requires it. This same package also requires Python 3.6, so on my computer I have both Python 2.7 as well as 3.6, and use…
Amos
  • 1,154
  • 1
  • 16
  • 35
2
votes
2 answers

Scrypt hash algorithm for password hashing in Swift 3.0 (iOS)

I am trying to find a library to implement password hashing(with salt) using Scrypt algorithm. My question is similar to one already asked in stackoverflow (Hash password in Swift application) I have found following two libraries in swift and…
2
votes
0 answers

how to import passwords generated by ruby's scrypt into firebase?

I'm attempting to import scrypted hashes generated by ruby's scrypt into Firebase. Ruby's scrypt doesn't define (that I can tell) what it's output is. It looks like this: [1] pry(main)> SCrypt::Password.create("somepassword") =>…
jsharpe
  • 2,546
  • 3
  • 26
  • 42
2
votes
1 answer

Should I use jBcrypt or PBKDF2 for password salting in Java?

Hello Everyone! I am still fairly new to Java programming, so please forgive me if this question is not thorough enough. I am trying to find a way to salt and hash my passwords in Java for a web app that requires a password login. I tried to use the…
Perdue
  • 479
  • 9
  • 19
2
votes
1 answer

Encrypting a private key in Ruby, using aes-128-ctr + scrypt

I need to build a private key encryption for Ethereum, which should be compatible to the go-ethereum implementation (Ruby-encrypted keys should work with the Ethereum implementation as well). Ethereum uses a 32-bit private key, like this one, for…
mitchkman
  • 6,201
  • 8
  • 39
  • 67
2
votes
1 answer

Why does the 1st call to scrypt() use just 1% CPU and take half an hour in GCE?

[ Summary & answer: Apparently the problem is that it takes long to seed the random number generator. See my answer below. ] In Google Compute Engine (GCE), the very first request my Java Virtual Machine app makes to the scrypt password hashing…
KajMagnus
  • 11,308
  • 15
  • 79
  • 127
2
votes
1 answer

How the device storage is encrypted with WSO2 EMM?

The documentation tells how the transport layer is secured. But the only information about the device storage encryption is just that "it's encrypted". Example for Android Resource Definition to Encrypt Storage on Android Devices I guess it uses…
Flacid_Snake
  • 391
  • 2
  • 5
  • 16
2
votes
1 answer

Is it possible to use bcrypt or scrypt as an alternative to PBKDF2 in SJCL?

I've been using the library and I really like it, but from what I have read PBKDF2 is a bit more vulnerable to brute force attacks than bcrypt or scrypt. I came across this issue about adding scrypt support, but there doesn't seem to be a clear…
Dominic P
  • 2,284
  • 2
  • 27
  • 46
2
votes
1 answer

Hash password in Swift application

For security purposes I will encrypt some data, including the user password in my application. My colleagues have chosen scrypt hashing algorithm, for a 64 bytes length, with a fixed seed, then converted to hex. Hashing "A12345678Z" leads to:…
scourgy
2
votes
1 answer

Configure Scrypt in Gradle for x86 android devices

In my application I need to use a Scrypt library but there's an issue: scrypt-1.4.0.jar which is taken from Maven Central refuses to work on x86 architectures. A hint to solution has been found in this thread:…
src091
  • 2,807
  • 7
  • 44
  • 74
1 2
3
9 10