String returns a SRI-encoded string
()
| 31 | |
| 32 | // String returns a SRI-encoded string |
| 33 | func (h *Hash) String() string { |
| 34 | return h.algo + "-" + b64Enc.EncodeToString(h.sum) |
| 35 | } |
| 36 | |
| 37 | // Hex return a hex-encoded representation of the sum |
| 38 | func (h *Hash) Hex() string { |
no outgoing calls