aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/hash/hash_sha256.go
blob: 1c52b897539c29111007d34b4f5940b6aef47ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build sha256
// +build sha256

package hash

import "crypto"

const (
	// CryptoType defines what hash algorithm is being used.
	CryptoType = crypto.SHA256
	// Size defines the amount of bytes the hash yields.
	Size = 32
	// HexSize defines the strings size of the hash when represented in hexadecimal.
	HexSize = 64
)