package encrypt import ( "crypto/sha256" ) func KeyDataSHA256(bv []byte) []byte { h := sha256.New() h.Write(bv) return h.Sum(nil) }