Searched defs:sha256Hash (Results 1 – 1 of 1) sorted by relevance
243 type sha256Hash struct { struct244 ctx C.GO_SHA256_CTX245 out [256 / 8]byte248 func (h *sha256Hash) noescapeCtx() *C.GO_SHA256_CTX {252 func (h *sha256Hash) Reset() {255 func (h *sha256Hash) Size() int { return 256 / 8 }256 func (h *sha256Hash) BlockSize() int { return 64 }257 func (h *sha256Hash) Sum(dst []byte) []byte { return h.sum(dst) }259 func (h *sha256Hash) Write(p []byte) (int, error) {266 func (h0 *sha256Hash) sum(dst []byte) []byte {[all …]