const crypto/sha256.Size
12 uses
crypto/sha256 (current package)
sha256.go#L22: const Size = 32
sha256.go#L177: return Size
sha256.go#L217: func (d *digest) checkSum() [Size]byte {
sha256.go#L237: var digest [Size]byte
sha256.go#L254: func Sum256(data []byte) [Size]byte {
crypto/tls
ticket.go#L124: encrypted := make([]byte, ticketKeyNameLen+aes.BlockSize+len(state)+sha256.Size)
ticket.go#L127: macBytes := encrypted[len(encrypted)-sha256.Size:]
ticket.go#L141: mac.Write(encrypted[:len(encrypted)-sha256.Size])
ticket.go#L148: if len(encrypted) < ticketKeyNameLen+aes.BlockSize+sha256.Size {
ticket.go#L154: macBytes := encrypted[len(encrypted)-sha256.Size:]
ticket.go#L155: ciphertext := encrypted[ticketKeyNameLen+aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L170: mac.Write(encrypted[:len(encrypted)-sha256.Size])
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |