Files
llgo/_cmptest/sha1demo/sha1.go

12 lines
154 B
Go
Raw Normal View History

2024-07-31 13:56:42 +08:00
package main
import (
"crypto/sha1"
"fmt"
)
func main() {
data := []byte("This page intentionally left blank.")
fmt.Printf("% x", sha1.Sum(data))
}