Skip to content

Instantly share code, notes, and snippets.

@KyCodeHuynh
Last active June 4, 2016 18:25

Revisions

  1. KyCodeHuynh revised this gist Jun 4, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Bcrypt benchmark for Ruby.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Make sure that `bcrypt` [gem](https://github.com/codahale/bcrypt-ruby) has been installed.
    Make sure that the `bcrypt` [gem](https://github.com/codahale/bcrypt-ruby) has been installed.

    ```ruby
    require 'Benchmark'
  2. KyCodeHuynh revised this gist Jun 4, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Bcrypt benchmark for Ruby.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    Make sure that `bcrypt` [gem](https://github.com/codahale/bcrypt-ruby) has been installed.

    ```ruby
    require 'Benchmark'
    require 'bcrypt'
    Benchmark.measure { BCrypt::Password.create('secret', :cost => 12) }
    ```
  3. KyCodeHuynh renamed this gist Mar 27, 2016. 1 changed file with 0 additions and 0 deletions.
  4. KyCodeHuynh renamed this gist Mar 27, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. KyCodeHuynh renamed this gist Jan 2, 2016. 1 changed file with 0 additions and 0 deletions.
  6. KyCodeHuynh created this gist Jan 2, 2016.
    6 changes: 6 additions & 0 deletions Bcrypt benchmark for Ruby
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    Make sure that `bcrypt` [gem](https://github.com/codahale/bcrypt-ruby) has been installed.

    ```ruby
    require 'bcrypt'
    Benchmark.measure { BCrypt::Password.create('secret', :cost => 12) }
    ```