Skip to content

About

Authlogic crypto provider

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Gem

Authlogic Crypto Zero - simply way to add performance when using Authlogic gem during tests execution disabling password encryption. More then 5% faster in comparison with SCrypt or BCrypt when run tests.

Step 1

gem 'authlogic_crypto_zero'

Step 2

  acts_as_authentic do |c|
    ...
    c.crypto_provider = Rails.env.test? ? Authlogic::CryptoProviders::Zero : YOUR_CRYPTO_PROVIDER

IMPORTANT this gem only for test environment and should not used in production.

About

Authlogic crypto provider

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages