/    Sign up×
Community /Pin to ProfileBookmark

Password hashing with JavaScript

I’m working on the login page for a web site I’m building. I have been looking for a Vanilla JavaScript hashing algorithm. Ideally I would like to use Bcrypt or possible even Yescrypt, but everything I have found so far are Node.js packages.

**Is it possible to extract the JavaScript hashing code from an NPM package?**

Many thanks
Walt Williams

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogDec 22.2022 — Looks like this supports both Node and browser JS, but I've never used it (never had a reason to hash on the client side): https://github.com/dcodeIO/bcrypt.js
Copy linkTweet thisAlerts:
@Programming_PadawanauthorDec 24.2022 — Nice. I'll look at it.

Walt
Copy linkTweet thisAlerts:
@AnawilliamDec 25.2022 — Yes, it is possible to extract the JavaScript code from an NPM (Node Package Manager) package. NPM packages are simply collections of JavaScript code that can be shared and reused across different projects.
×

Success!

Help @Programming_Padawan spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...