lib/ronin/password.rb in ronin-1.0.0.pre4 vs lib/ronin/password.rb in ronin-1.0.0.rc1
- old
+ new
@@ -21,10 +21,13 @@
require 'ronin/model'
require 'digest'
module Ronin
+ #
+ # Represents a password that can be stored in the {Database}.
+ #
class Password
include Model
# Primary key of the password
@@ -57,10 +60,10 @@
#
# @return [String]
# The hex-digest of the hashed password.
#
# @raise [ArgumentError]
- # Unknown Digest alogrithm.
+ # Unknown Digest algorithm.
#
# @example
# pass = Password.new(:clear_text => 'secret')
#
# pass.digest(:sha1)