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
0 answers

OS X/Php - Extensions not loading

I'm trying to use the scrypt extension for php from here https://github.com/DomBlack/php-scrypt. I'm using OS X Yosemite and installed the extension via pecl, everything went fine. The extension is located in…
Evo_x
  • 2,997
  • 5
  • 24
  • 40
2
votes
2 answers

Suitability of scrypt for password authentication in the browser using Dart

I've written a Go server with custom binary websocket protocol, and a Dart client. User authentication on the server employs scrypt and the recommended parameters N=16384, r=8, p=1 (with salt of length 16 and generated key length of 64), my i7…
rino
  • 491
  • 5
  • 12
2
votes
0 answers

Is there a pythonic solution for cross-platform (windows-mac-linux) SCrypt?

I've been searching for it whole night and even cross-platform bcrypt python library is not found. Do I have to switch to c library and wrote my own wrapper around it or is there other way?
Moonwalker
  • 2,180
  • 1
  • 29
  • 48
2
votes
1 answer

Python 3, Scrypt module, Hashes Not Matching

Using: Python 3.2.3, scrypt 0.5.5 module, Ubuntu 12.04 I installed the scrypt module fine. I ran the sample code on the page fine. I also found an expanded version of the sample code, which did fine too. But I wanted to test if it would hash the…
Zamphatta
  • 4,634
  • 8
  • 30
  • 34
1
vote
0 answers

Migrating password from firebase to postgres problem

I need your help, SOF. I want to migrate users from Firebase to a PostgreSQL database, but my issue is with the hashed passwords stored by Firebase. How can I verify if a plain-text password matches a hash provided by Firebase? I can't figure it out…
1
vote
0 answers

Is there a way to use hashed passwords with mailr in R?

I'm trying to use the mailr package in R to send automated emails, and I love how intuitive it is. However, my only hesitation is that I need to put my password directly in my script. library(mailr) send.mail(from = "myemail@yahoo.com", …
J.Sabree
  • 2,280
  • 19
  • 48
1
vote
1 answer

Darkmode toggle - two buttons - only one works

I am new here and hope you can help me :) Basically I have created a script that detects the darkmode of the browser and displays the web page accordingly. In addition, it should be possible to switch between light and dark mode with the help of a…
crackhawk
  • 15
  • 4
1
vote
1 answer

Firebase Authentication Migration

I was trying to move away from firebase authentication. So I exported all firebase users with their email, hashedPassword, saltKey, all the other necessary information. After all, I migrated them to database and tried to implement auth flow using…
1
vote
1 answer

How to decrypt notepad++ nppcrypt encrypted message in programming language

plain text:Hello leon password & iv:leon1234leon1234 cipher: rijndael cbc 128bits nppcrypto encrypt info
Leon
  • 11
  • 2
1
vote
2 answers

Why is my decipher.update returning a function and not the deciphered text? NodeJS

I am using the inbuilt crypto module, and been frustrated for many hours trying to figure out why decipher.update returns a function and not the deciphered text itself. code: const file = path.join(__dirname, '../secret.txt'); const fileIV =…
4N0M41Y
  • 324
  • 1
  • 4
  • 12
1
vote
1 answer

ScryptSync Key Cannot Be Used in createCipheriv, Nodejs, Crypto lib

I am new to topics related to encoding and I am having troubles with being able to convert my scryptsync key into something createCipheriv (Crypto library integrated into Nodejs) can use in the iv parameter. const algorithm = 'aes-256-gcm'; var text…
4N0M41Y
  • 324
  • 1
  • 4
  • 12
1
vote
0 answers

crypto.scrypt -> createDecipheriv -> error. NodeJS

I enountered a problem where I was attempting to derive a 256bit key from an input password in hopes to use it with crypto.createCipheriv/createDecipheriv. This gives me the following error: [ERR_INVALID_ARG_TYPE]: the "key" argument must be of…
4N0M41Y
  • 324
  • 1
  • 4
  • 12
1
vote
0 answers

Use custom Base_64 dictionary for passlib.hash.scrypt

Is it possible to specify a custom Base_64 dictionary when encoding data within passlib? I have a requirement to generate 'scrypt' encoded passwords on a system that does not allow the '+' character within its configuration files. More specifically…
HazyMaze
  • 23
  • 4
1
vote
1 answer

How do I use scrypt to encrypt a private key with a password

how do I encrypt a private key created using the KeyPairGenerator in java with scrypt? I want to secure the private key using a password, so no one can use the private key to decrypt the data I encrypted even if he has the private key and the…
Nightloewe
  • 918
  • 1
  • 14
  • 24
1
vote
1 answer

Drizzle installation end up with errors

I have followed the this tutorial from Truffle official page, First few steps goes smoothly and when i tried to install drizzle on client directory as per the tutorial says it ended up with this error message, before this error message it has…
pl-jay
  • 970
  • 1
  • 16
  • 33