crypt: fix typo in comment

strign -> string
This commit is contained in:
João Henrique Franco 2022-08-22 05:43:54 -03:00 committed by GitHub
parent 47539ec0e6
commit 85eb9776bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ type fileNameEncoding interface {
// - we strip the padding character `=` // - we strip the padding character `=`
type caseInsensitiveBase32Encoding struct{} type caseInsensitiveBase32Encoding struct{}
// EncodeToString encodes a strign using the modified version of // EncodeToString encodes a string using the modified version of
// base32 encoding. // base32 encoding.
func (caseInsensitiveBase32Encoding) EncodeToString(src []byte) string { func (caseInsensitiveBase32Encoding) EncodeToString(src []byte) string {
encoded := base32.HexEncoding.EncodeToString(src) encoded := base32.HexEncoding.EncodeToString(src)