GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - riverrun/bcrypt_elixir: Bcrypt password hashing for Elixir

BranchesTags
Open more actions menu

Latest commit

 

History

100 Commits
100 Commits

Folders and files

NameName
Last commit message
Last commit date
c_src
c_src
 
 
lib
lib
 
 
test
test
 
 
.formatter.exs
.formatter.exs
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
Makefile.win
Makefile.win
 
 
README.md
README.md
 
 
mix.exs
mix.exs
 
 
mix.lock
mix.lock
 
 

Repository files navigation

Bcrypt

Build Status Module Version Hex Docs Total Download License Last Updated

Bcrypt password hashing library for Elixir.

Bcrypt is a well-tested password-based key derivation function that can be configured to remain slow and resistant to brute-force attacks even as computational power increases.

Compatibility with other Bcrypt libraries

This version is based on the OpenBSD version of Bcrypt and supports the $2b$ and $2a$ prefixes. For advice on how to use hashes with the $2y$ prefix, see this issue.

Installation

  1. Add :bcrypt_elixir to the deps section of your mix.exs file:

    If you are using Erlang >20:

    def deps do
      [
        {:bcrypt_elixir, "~> 3.0"}
      ]
    end

    If you are using Erlang 19 or below:

    def deps do
      [
        {:bcrypt_elixir, "~> 0.12"}
      ]
    end
  2. Make sure you have a C compiler installed. See the Comeonin wiki for details.

  3. Optional: during tests (and tests only), you may want to reduce the number of rounds so it does not slow down your test suite. If you have a config/test.exs, you should add:

    config :bcrypt_elixir, :log_rounds, 4

Comeonin wiki

See the Comeonin wiki for more information on the following topics:

  • Algorithms
  • Requirements
  • Deployment
    • Including information about using Docker
  • References

Contributing

There are many ways you can contribute to the development of this library, including:

  • Reporting issues
  • Improving documentation
  • Sharing your experiences with others

Documentation

http://hexdocs.pm/bcrypt_elixir

License

BSD. For full details, please read the LICENSE file.

About

Bcrypt password hashing for Elixir

Resources

Readme
License
Activity

Stars

174 stars

Watchers

2 watching

Forks

29 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.