Forum: Ruby on Rails Acts as Authenticated

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0de83fd56f1af530034ba8efa5490b1b?d=identicon&s=25 John (Guest)
on 2007-05-09 11:49

Can anyone tell me the hash encryption level for a password using acts
as authenticated 128bit, 164bit????

require 'digest/sha1'

# Encrypts some data with the salt.
def self.encrypt(password, salt)

Ee469623eb1b8e6e35d192822b9c4aa2?d=identicon&s=25 Florian Aßmann (Guest)
on 2007-05-09 12:12
(Received via mailing list)
Correct me if I'm wrong, imho it doesn't have an encryption level
since hashing is one-way...
A sha1 hash is 40 alnum characters (160 bit) long.


Am 09.05.2007 um 11:49 schrieb John:
This topic is locked and can not be replied to.