diff --git a/lib/devise/encryptors/authlogic_sha512.rb b/lib/devise/encryptors/authlogic_sha512.rb index cbc85ecd..9ff327ed 100644 --- a/lib/devise/encryptors/authlogic_sha512.rb +++ b/lib/devise/encryptors/authlogic_sha512.rb @@ -7,7 +7,7 @@ module Devise # Warning: it uses Devise's stretches configuration to port Authlogic's one. Should be set to 20 in the initializer to simulate # the default behavior. class AuthlogicSha512 < Base - # Gererates a default password digest based on salt, pepper and the + # Generates a default password digest based on salt, pepper and the # incoming password. def self.digest(password, stretches, salt, pepper) digest = [password, salt].flatten.join('') diff --git a/lib/devise/encryptors/clearance_sha1.rb b/lib/devise/encryptors/clearance_sha1.rb index 33d39fb9..2857eb6b 100644 --- a/lib/devise/encryptors/clearance_sha1.rb +++ b/lib/devise/encryptors/clearance_sha1.rb @@ -7,7 +7,7 @@ module Devise # Warning: it uses Devise's pepper to port the concept of REST_AUTH_SITE_KEY # Warning: it uses Devise's stretches configuration to port the concept of REST_AUTH_DIGEST_STRETCHES class ClearanceSha1 < Base - # Gererates a default password digest based on salt, pepper and the + # Generates a default password digest based on salt, pepper and the # incoming password. def self.digest(password, stretches, salt, pepper) Digest::SHA1.hexdigest("--#{salt}--#{password}--") diff --git a/lib/devise/encryptors/restful_authentication_sha1.rb b/lib/devise/encryptors/restful_authentication_sha1.rb index 555b63f2..1f27985c 100644 --- a/lib/devise/encryptors/restful_authentication_sha1.rb +++ b/lib/devise/encryptors/restful_authentication_sha1.rb @@ -9,7 +9,7 @@ module Devise # the initializer to simulate the default behavior. class RestfulAuthenticationSha1 < Base - # Gererates a default password digest based on salt, pepper and the + # Generates a default password digest based on salt, pepper and the # incoming password. def self.digest(password, stretches, salt, pepper) digest = pepper diff --git a/lib/devise/encryptors/sha1.rb b/lib/devise/encryptors/sha1.rb index 3dad6b1b..f10b3723 100644 --- a/lib/devise/encryptors/sha1.rb +++ b/lib/devise/encryptors/sha1.rb @@ -5,7 +5,7 @@ module Devise # = Sha1 # Uses the Sha1 hash algorithm to encrypt passwords. class Sha1 < Base - # Gererates a default password digest based on stretches, salt, pepper and the + # Generates a default password digest based on stretches, salt, pepper and the # incoming password. def self.digest(password, stretches, salt, pepper) digest = pepper diff --git a/lib/devise/encryptors/sha512.rb b/lib/devise/encryptors/sha512.rb index ed8724d7..906a6fa1 100644 --- a/lib/devise/encryptors/sha512.rb +++ b/lib/devise/encryptors/sha512.rb @@ -5,7 +5,7 @@ module Devise # = Sha512 # Uses the Sha512 hash algorithm to encrypt passwords. class Sha512 < Base - # Gererates a default password digest based on salt, pepper and the + # Generates a default password digest based on salt, pepper and the # incoming password. def self.digest(password, stretches, salt, pepper) digest = pepper