Clean up description in SHA256 example
This commit is contained in:
@@ -28,9 +28,6 @@ func main() {
|
||||
// to an existing byte slice: it usually isn't needed.
|
||||
bs := h.Sum(nil)
|
||||
|
||||
// SHA256 values are often printed in hex, for example
|
||||
// in git commits. Use the `%x` format verb to convert
|
||||
// a hash results to a hex string.
|
||||
fmt.Println(s)
|
||||
fmt.Printf("%x\n", bs)
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
21f16c864c11958f29949c491a9684bcb885831f
|
||||
jIQtrUxWLvq
|
||||
66d0faf25cd171218b0fc0fc341836a4f0069932
|
||||
IHM1lZVm_Jm
|
||||
|
||||
Reference in New Issue
Block a user