How to generate sha1 hashed passwords? #1166
Answered
by
tuchida
Karan-nayyar
asked this question in
Q&A
Replies: 3 comments 11 replies
-
If your Rhino environment allows the use of Java libraries, the Google Guava Hashing methods are pretty easy to use. If not, you might want to try https://github.com/brix/crypto-js |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
Karan-nayyar
-
Wow it'd be great if someone had the time to implement that "Web
Cryptography API" on top of Java so that people could plug it optionally
into Rhino!
…On Tue, Jan 25, 2022 at 1:32 PM tuchida ***@***.***> wrote:
- Generating SHA-1 in benchmark
<https://github.com/mozilla/rhino/blob/6c3a17faadf6adda6c37a9a48546fd245099b2d7/testsrc/benchmarks/sunspider-0.9.1/crypto-sha1.js>
.
- Are you asking for a Web Cryptography API
<https://www.w3.org/TR/WebCryptoAPI/> to be implemented in Rhino
standard library like Deno
<https://deno.com/blog/v1.18#web-cryptography-api-is-now-complete>?
Otherwise, I think this is a issue for a Java or JavaScript question site.
- In today's world, it is dangerous to encrypt passwords with SHA-1.
—
Reply to this email directly, view it on GitHub
<#1166 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7I236Y6WAE265QHCGQFLUX4JIXANCNFSM5MY5VJUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to generate sha1 hashed password. But the engine used is Rhino. Is there any way I can use any library for Rhino javascript engine to generate these encrypted passwords.
Beta Was this translation helpful? Give feedback.
All reactions