
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
firebase-scrypt
Advanced tools
NodeJs implementation of Firebase's Scrypt modified version
To install, run :
npm i firebase-scrypt
Go to Firebase to get your hash parameters. To access these parameters, navigate to the 'Users' tab of the 'Authentication' section in the Firebase Console and select 'Password Hash Parameters' from the drop down in the upper-right hand corner of the users table.
import { FirebaseScrypt } from 'firebase-scrypt'
const firebaseParameter = {
memCost: 1, // replace by your
rounds: 1, // replace by your
saltSeparator: 'your-separator', // replace by your
signerKey: 'your-key', // replace by your
}
const scrypt = new FirebaseScrypt(firebaseParameters)
[...]
const password = "test"
const salt = "salt"
scrypt.hash(password, salt)
.then(hash => console.log(hash))
[...]
const password = "test"
const salt = "salt"
const hash = "PrZI5nfqjOEk"
scrypt.verify(password, salt, hash)
.then(isValid => isValid ? console.log('Valid !') : console.log('Not valid !'))
To test, run :
npm run test
FAQs
Nodejs implementation of Firebase's Scrypt modified version.
The npm package firebase-scrypt receives a total of 3,321 weekly downloads. As such, firebase-scrypt popularity was classified as popular.
We found that firebase-scrypt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.