Skip to content

Commit e19aaa7

Browse files
authored
Merge pull request #15 from woshiqiang1/patch-1
Update sha256.md
2 parents 4414a57 + 1c05298 commit e19aaa7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/introduction/sha256.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ func main() {
1717
h := sha256.New()
1818
h.Write([]byte(s))
1919
res := h.Sum(nil)
20-
fmt.Printf("sha245(`hello world`) = %x\n", res)
20+
fmt.Printf("sha256(`hello world`) = %x\n", res)
2121
}
2222

2323
// $ go run main.go
2424
// 输出如下
2525
/**
2626
sha256(`hello world`) = b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
2727
*/
28-
```
28+
```

0 commit comments

Comments
 (0)