Files
llgo/_cmptest/sha512demo/sha512.go

12 lines
136 B
Go
Raw Normal View History

2024-07-31 13:56:42 +08:00
package main
import (
"crypto/sha512"
"fmt"
)
func main() {
sum := sha512.Sum512([]byte("hello world\n"))
fmt.Printf("%x", sum)
}