aboutsummaryrefslogblamecommitdiffstats
path: root/plumbing/hash/hash_sha1.go
blob: e3cb60fec9e34ff54aeaacb92439bc3c866468b1 (plain) (tree)
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.SHA1
	// Size defines the amount of bytes the hash yields.
	Size = 20
	// HexSize defines the strings size of the hash when represented in hexadecimal.
	HexSize = 40
)