Debian Codegraph @

plumbing/hash/hash_sha256.go

raw
1 //go:build sha256
2 // +build sha256
3
4 package hash
5
6 import "crypto"
7
8 const (
9 // CryptoType defines what hash algorithm is being used.
10 CryptoType = crypto.SHA256
11 // Size defines the amount of bytes the hash yields.
12 Size = 32
13 // HexSize defines the strings size of the hash when represented in hexadecimal.
14 HexSize = 64
15 )