Browse Source

go.crypto/blowfish: fix typo in docstring in cipher.go

Change-Id: I1b968decc23de5b7f635dcbc4133b1ab3745ff88
Reviewed-on: https://go-review.googlesource.com/23851
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Joe Farrell 9 năm trước cách đây
mục cha
commit
77f4136a99
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      blowfish/cipher.go

+ 1 - 1
blowfish/cipher.go

@@ -39,7 +39,7 @@ func NewCipher(key []byte) (*Cipher, error) {
 
 // NewSaltedCipher creates a returns a Cipher that folds a salt into its key
 // schedule. For most purposes, NewCipher, instead of NewSaltedCipher, is
-// sufficient and desirable. For bcrypt compatiblity, the key can be over 56
+// sufficient and desirable. For bcrypt compatibility, the key can be over 56
 // bytes.
 func NewSaltedCipher(key, salt []byte) (*Cipher, error) {
 	if len(salt) == 0 {