We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ea250 commit 52bd3faCopy full SHA for 52bd3fa
pkg/controller/hash.go
@@ -98,7 +98,7 @@ func NameHashSHAKE128Base32(names ...string) string {
98
name := strings.Join(names, "/")
99
100
// Desired output length = 8 chars
101
- // 8 chars * 5 bit (base32) / 8 bit per byte = 5 byte
+ // 8 chars * 5 bit (base32) / 8 bits per byte = 5 bytes
102
hash := sha3.SumSHAKE128([]byte(name), 5)
103
104
return base32.NewEncoding(Base32EncodeStdLowerCase).WithPadding(base32.NoPadding).EncodeToString(hash)
0 commit comments