Files
llgo/_cmptest/sha512demo/sha512.go
2024-07-31 13:56:42 +08:00

12 lines
136 B
Go

package main
import (
"crypto/sha512"
"fmt"
)
func main() {
sum := sha512.Sum512([]byte("hello world\n"))
fmt.Printf("%x", sum)
}