1 2 3 4 5 6 7
package main import "crypto/sha256" func fingerprint(key []byte) []byte { return sha256.New().Sum(key) }