Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "crypto/md5"
- "encoding/binary"
- "fmt"
- "io"
- )
- func main() {
- h := md5.New()
- io.WriteString(h, "And Leon's getting laaarger!")
- var seed uint64 = binary.BigEndian.Uint64(h.Sum(nil))
- fmt.Println(seed)
- }
Add Comment
Please, Sign In to add comment