Permalink
Browse files

String test for 1.9 not needed for backwards compat. Tested fine in 1…

….8.7-p357.
  • Loading branch information...
squarism
squarism committed Feb 27, 2012
1 parent 40362e9 commit 1a779c84f161cff1a8e2e22ea8530bfc0a8d6352
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/clearance/password_strategies/blowfish.rb
@@ -25,7 +25,6 @@ def encrypt_password
end
def generate_hash(string)
- # TODO: 1.9 vs 1.8 testing
cipher = OpenSSL::Cipher::Cipher.new('bf-cbc').encrypt
cipher.key = Digest::SHA256.digest(salt)
cipher.update(string) << cipher.final

0 comments on commit 1a779c8

Please sign in to comment.