Module | Gibbler |
In: |
lib/gibbler.rb
lib/gibbler/aliases.rb lib/gibbler/history.rb |
"Hola, Tanneritos"
default_base | [RW] | |
secret | [RW] |
Sends str to Digest::SHA1.hexdigest. If another digest class has been specified, that class will be used instead. If Gibbler.secret is set, str will be prepended with the value.
See: digest_type
Specify a different digest class. The default is +Digest::SHA1+. You could try +Digest::SHA256+ by doing this:
Object.gibbler_digest_type = Digest::SHA256
Raises an exception. The correct usage is to include a Gibbler::Object: