Comments (7)
same error. /dev/urandom is available on ubuntu. but on windows It's not found. I have no idea how to solve it. Please someone help me out
from password-hash.
same error. I'm using a windows machine. How to solve this?
from password-hash.
Same error on windows machine , any updats??
from password-hash.
The problem is on the line:
password-hash/password-hash.js
Line 75 in cd01fec
where
urandom
is used which works with /dev/urandom
. We can replace urandom
with timeRandom
as stated here: https://www.npmjs.com/package/randbytes#get-rand-bytes-from-timestampwhich works for me.
from password-hash.
The problem is on the line:
password-hash/password-hash.js
Line 75 in cd01fec
where
urandom
is used which works with/dev/urandom
. We can replaceurandom
withtimeRandom
as stated here: https://www.npmjs.com/package/randbytes#get-rand-bytes-from-timestamp
which works for me.
Works for me too. A working Windows version is available here: https://github.com/callvm/password-hash-windows
from password-hash.
No more RandBytes.urandom is used on the repo. But I need someone with Windows to test and gives the feedback.
from password-hash.
The npm repository was not updated. It contain the 1.0.5 version with old version of get_random_bytes.
from password-hash.
Related Issues (5)
- International characters are causing the hash to not be compatible with WP hash HOT 2
- node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v72-linux-x64-musl.tar.gz HOT 1
- bcrypt dependency fails on AWS Lambda HOT 2
- New release HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from password-hash.