Skip to content

Repository files navigation

🔑 scrypt

This is a wasm-based (using rust-crypto) implementation of scrypt key derivation function that doesn't require any privileges.

Deno CIGitHubContributorsScryptMade by DenorgTypeScriptsemantic-release

⭐ Getting started

Import the hash and/or verify functions and use them:

import{hash,verify}from"jsr:@denorg/scrypt@4.4.4";consthashResult=hash("password");constverifyResult=verify("password",hashResult);

CLI with DPX

After installing DPX, you can directly use the CLI using the dpx command:

dpx scrypt hash<password>
dpx scrypt verify <password><hash>

CLI

Alternatively, you can use it directly from the CLI by using deno run:

deno run jsr:@denorg/scrypt@4.4.4/cli hash<password>
deno run jsr:@denorg/scrypt@4.4.4/cli verify <password><hash>

You can also install it globally using the following:

deno install -n scrypt jsr:@denorg/scrypt@4.4.4/cli

Then, the package is available to run:

scrypt hash<password>
scrypt verify <password>

👩‍💻 Development

Run tests:

deno test

📄 License

MIT © Denorg

A project by Denorg, the world's first Deno-focused community
organization and consulting company. Work with us →

About

🔑 Deno library for hashing passwords using scrypt

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

21 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from denorg/starter