Sum returns the SHA256 of the bz.
(bz []byte)
| 17 | |
| 18 | // Sum returns the SHA256 of the bz. |
| 19 | func Sum(bz []byte) []byte { |
| 20 | h := sha256.Sum256(bz) |
| 21 | return h[:] |
| 22 | } |
| 23 | |
| 24 | //------------------------------------------------------------- |
| 25 |
no outgoing calls