• Stars
    star
    157
  • Rank 238,399 (Top 5 %)
  • Language
    C
  • License
    Other
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bcrypt password hashing for Elixir

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:

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.

More Repositories

1

comeonin

Password hashing specification for the Elixir programming language
Elixir
1,283
star
2

phauxth

Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
Elixir
410
star
3

argon2_elixir

Elixir wrapper for the Argon2 password hashing algorithm
Elixir
220
star
4

openmaize

No longer maintained - was an Authentication library for Plug-based applications in Elixir
Elixir
207
star
5

genxword

Crossword generator written in Python.
Python
157
star
6

one_time_pass_ecto

No longer maintained - One-time password library with Ecto support (for Elixir)
Elixir
55
star
7

pbkdf2_elixir

Pbkdf2 password hashing for Elixir
Elixir
54
star
8

not_qwerty123

Not actively maintained - Password strength checker and random password generator for Elixir
Elixir
45
star
9

phoenix-todoapp

Phoenix todo app using Phauxth authentication
Elixir
20
star
10

cheesemaker

A simple image viewer using Python 3 and PyQt5
Python
13
star
11

phauxth_installer

No longer maintained - Installer for the Phauxth authentication library
Elixir
13
star
12

drat

Reading text analysis tool written in Python
Python
7
star
13

openmaize_jwt

NO LONGER MAINTAINED
Elixir
4
star
14

branglecrypt

Bcrypt Erlang / C library
C
3
star
15

dotfiles

Files for setting up zsh, vim, etc.
Vim Script
2
star
16

blake2_elixir

Elixir implementation of the Blake2 hashing algorithm
C
2
star
17

aiourlstatus

A link checker that checks the links in json or text files - using Python 3.5 and asyncio
Python
2
star
18

legacy_pbkdf2

Example of using Comeonin with Plug Pbkdf2
Elixir
1
star
19

sillysearch

A code search / replace tool in Haskell
Haskell
1
star