Skip to content

Commit 3927859

Browse files
committed
Use a recognizable base64 data for salt.
1 parent f293a0d commit 3927859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/bcrypt.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Crypto::Bcrypt
7777
# ```
7878
# require "crypto/bcrypt"
7979
#
80-
# password = Crypto::Bcrypt.new "secret", "0102030405060708090a0b0c0d0e0f10"
80+
# password = Crypto::Bcrypt.new "secret", "CJjskaIgXR32DJYjVyNPdA=="
8181
# password.digest
8282
# ```
8383
def self.new(password : String, salt : String, cost = DEFAULT_COST)

0 commit comments

Comments
 (0)