Giter Club home page Giter Club logo

mochafreddo / bcrypt-benchmark Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

This project is designed to benchmark the performance of bcrypt hashing at different salt rounds. It helps in determining the optimal number of rounds for hashing passwords, balancing security and performance.

License: ISC License

JavaScript 100.00%
authentication bcrypt benchmark cryptography hashing-algorithm nodejs nodejs-security password-hashing performance-testing security

bcrypt-benchmark's Introduction

bcrypt-benchmark

This project is designed to benchmark the performance of bcrypt hashing at different salt rounds. It helps in determining the optimal number of rounds for hashing passwords, balancing security and performance.

Getting Started

To run this project, you need Node.js installed on your machine.

Installation

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install the dependencies by running:
npm install

Usage

Run the benchmark test by executing:

node bcrypt-benchmark.js

The script will test bcrypt hashing from 8 to 16 rounds and log the duration for each round to the console.

Dependencies

  • bcrypt: ^5.1.1

See package.json for more details.

Contributing

Feel free to fork the repository and submit pull requests.

License

This project is licensed under the ISC License. See the LICENSE file for details.

bcrypt-benchmark's People

Contributors

mochafreddo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.