From 1c05298d26ecbf2236b41976f3ccaae7ee7dcc45 Mon Sep 17 00:00:00 2001 From: Orange <775106512@qq.com> Date: Wed, 20 Nov 2024 11:00:23 +0800 Subject: [PATCH] Update sha256.md --- content/introduction/sha256.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/introduction/sha256.md b/content/introduction/sha256.md index 0e902d2..fc78008 100644 --- a/content/introduction/sha256.md +++ b/content/introduction/sha256.md @@ -17,7 +17,7 @@ func main() { h := sha256.New() h.Write([]byte(s)) res := h.Sum(nil) - fmt.Printf("sha245(`hello world`) = %x\n", res) + fmt.Printf("sha256(`hello world`) = %x\n", res) } // $ go run main.go @@ -25,4 +25,4 @@ func main() { /** sha256(`hello world`) = b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 */ -``` \ No newline at end of file +```