github.com/traefik/yaegi@v0.15.1/_test/bin1.go (about) 1 package main 2 3 import ( 4 "crypto/sha1" 5 "fmt" 6 ) 7 8 func main() { 9 d := sha1.New() 10 d.Write([]byte("password")) 11 a := d.Sum(nil) 12 fmt.Println(a) 13 } 14 15 // Output: 16 // [91 170 97 228 201 185 63 63 6 130 37 11 108 248 51 27 126 230 143 216]