Skip to content

Commit e2e170f

Browse files
committed
typo
1 parent 90e5632 commit e2e170f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubbornjava-webapp/ui/src/posts/hashing-passwords-in-java-with-bcrypt.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BCrypt is a one way salted hash function based on the [Blowfish cipher](https://
66
* **One way hashing** - BCrypt is a one way hash function to obfuscate the password such that it is not stored in plain text.
77
* **Salted hashing** - Generating random bytes (the salt) and combining it with the password before hashing creates unique hashes across each users password. If two users have the same password they will not have the same password hash. This is to prevent [rainbow table](https://en.wikipedia.org/wiki/Rainbow_table) attacks which can reverse hashed passwords using common hashing functions that do not utilize a salt.
88
* **Logarithmic iterations** - The hashing function is executed many times sequentially which can be increased exponentially known as [key stretching](https://en.wikipedia.org/wiki/Key_stretching). This is to make the function CPU intensive which makes it more secure against brute force attacks.
9-
* **Updatable iterations** - As CPUs become faster so do brute force attacks. Since BCrypt stores the number of iterations as part of the hash its possible to verify a password and then increase its strength by generating a new hash with a higher number of iterations.
9+
* **Updatable iterations** - As CPUs become faster so do brute force attacks. Since BCrypt stores the number of iterations as part of the hash it's possible to verify a password and then increase its strength by generating a new hash with a higher number of iterations.
1010

1111
## jBCrypt Example Wrapper.
1212
We will be wrapping the standard `jBCrypt` with our own methods to allow auto updating the iterations on the fly.

0 commit comments

Comments
 (0)