All Projects → viniciuschiele → Scrypt

viniciuschiele / Scrypt

Licence: Apache-2.0 license
A .NET implementation of scrypt password hash algorithm.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Scrypt

Password4j
Password4j is a user-friendly cryptographic library that supports Argon2, Bcrypt, Scrypt, PBKDF2 and various cryptographic hash functions.
Stars: ✭ 124 (+37.78%)
Mutual labels:  scrypt, hash, bcrypt
phc-crypto
Hashing algorithms simplified (supports Argon2, Bcrypt, Scrypt, and PBKDF2)
Stars: ✭ 22 (-75.56%)
Mutual labels:  scrypt, hash, bcrypt
hash-wasm
Lightning fast hash functions using hand-tuned WebAssembly binaries
Stars: ✭ 382 (+324.44%)
Mutual labels:  scrypt, hash, bcrypt
komihash
Very fast, high-quality hash function (non-cryptographic, C) + PRNG
Stars: ✭ 68 (-24.44%)
Mutual labels:  hash, hashing-algorithm
ngx http hmac secure link module
HMAC Secure Link module for NGINX.
Stars: ✭ 47 (-47.78%)
Mutual labels:  hash, hashing-algorithm
deno-bcrypt
A port of jBCrypt to TypeScript for use as a Deno module
Stars: ✭ 56 (-37.78%)
Mutual labels:  hash, bcrypt
crypthash-net
CryptHash.NET is a .NET multi-target library to encrypt/decrypt/hash/encode/decode strings and files, with an optional .NET Core multiplatform console utility.
Stars: ✭ 33 (-63.33%)
Mutual labels:  hash, bcrypt
bcrypt
Swift implementation of the BCrypt password hashing function
Stars: ✭ 30 (-66.67%)
Mutual labels:  hash, bcrypt
Bcrypt.net
BCrypt.Net - Bringing updates to the original bcrypt package
Stars: ✭ 422 (+368.89%)
Mutual labels:  hash, bcrypt
CppSecurity
C++ Security Library
Stars: ✭ 24 (-73.33%)
Mutual labels:  scrypt, bcrypt
CryptoKnight
CryptoKnight is a general purpose cryptography desktop app
Stars: ✭ 18 (-80%)
Mutual labels:  scrypt, bcrypt
noble-hashes
Audited & minimal JS implementation of SHA2, SHA3, RIPEMD, BLAKE2/3, HMAC, HKDF, PBKDF2 & Scrypt
Stars: ✭ 213 (+136.67%)
Mutual labels:  scrypt, hash
hash-checker
Fast and simple application that allows you to generate and compare hashes from files and text
Stars: ✭ 72 (-20%)
Mutual labels:  hash, hashing-algorithm
prvhash
PRVHASH - Pseudo-Random-Value Hash. Hash functions, PRNG with unlimited period, randomness extractor. (Codename Gradilac/Градилак)
Stars: ✭ 194 (+115.56%)
Mutual labels:  hash, hashing-algorithm
BruteForce
A simple brute forcer written in GO for SHA1, SHA256, SHA512, MD5 and bcrypt
Stars: ✭ 49 (-45.56%)
Mutual labels:  hash, bcrypt
bookshelf-secure-password
A Bookshelf.js plugin for handling secure passwords
Stars: ✭ 24 (-73.33%)
Mutual labels:  hash, bcrypt
bcrypt
BCrypt is a password hashing function
Stars: ✭ 138 (+53.33%)
Mutual labels:  hash, bcrypt
Bcrypt
A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool.
Stars: ✭ 207 (+130%)
Mutual labels:  hash, bcrypt
Simple Scrypt
A convenience library for generating, comparing and inspecting password hashes using the scrypt KDF in Go 🔑
Stars: ✭ 168 (+86.67%)
Mutual labels:  scrypt, hash
Crypto Password
Library for securely hashing passwords
Stars: ✭ 185 (+105.56%)
Mutual labels:  scrypt, bcrypt

Scrypt.NET

Build Status

scrypt is a password hash algorithm created by Tarsnap in 2012 that allow us to protect passwords stored on databases against brute force attacks.

This .NET implementation of scrypt is a port of original implementation in C, which generates the same hash as the original implementation does. This implementation is fast but not as fast as original one because the original one is written in C and it uses SIMD instructions.

If you would like to know further about hashing algorithms and how to protect passwords I really recommend you to read that article Password Hashing.

Requirements

.NET 2.0 or .NET Core

Examples

Generating a new hash for a password:

ScryptEncoder encoder = new ScryptEncoder();

string hashsedPassword = encoder.Encode("mypassword");

Comparing a password against a hashed password:

ScryptEncoder encoder = new ScryptEncoder();

bool areEquals = encoder.Compare("mypassword", hashedPassword);

The recommended parameters for interactive logins as of 2009 are iterationCount=16384, blockSize=8, threadCount=1, those are the default values. They should be increased as memory latency and CPU parallelism increases.

It is compatible with .NET Core and it works perfectly in Linux and OSX using mono or the .NET Core, I'm not sure about mobile phones but I believe that it should work as well.

Install

Install via NuGet: Install-Package Scrypt.NET

Feedback

Please use the Issues for feature requests and troubleshooting usage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].