package
Version:
v0.0.0-...-42222ab
Opens a new window with list of versions in this module.
Published: May 19, 2023
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
B = 1 << (10 * iota)
KB = 1 << 10
MB = 1 << 20
GB = 1 << 30
TB = 1 << 40
)
type Blake struct {
Blake2b Blake2b `json:"Blake2b"`
Blake2s Blake2s `json:"Blake2s"`
}
type Blake2b struct {
Blake256 string `json:"Blake2b_256"`
Blake384 string `json:"Blake2b_384"`
Blake512 string `json:"Blake2b_512"`
}
type Blake2s struct {
Blake256 string `json:"Blake2s_256"`
}
type CRC struct {
CRC32 string `json:"CRC32"`
CRC64 string `json:"CRC64"`
}
type Hash struct {
MD5 string `json:"MD5"`
SHA1 string `json:"SHA1"`
SHA2 SHA2 `json:"SHA2"`
SHA3 SHA3 `json:"SHA3"`
CRC CRC `json:"CRC"`
Blake Blake `json:"Blake"`
}
type SHA2 struct {
SHA224 string `json:"SHA224"`
SHA256 string `json:"SHA256"`
SHA384 string `json:"SHA384"`
SHA512 string `json:"SHA512"`
SHA512_224 string `json:"SHA512_224"`
SHA512_256 string `json:"SHA512_256"`
}
type SHA3 struct {
SHA256 string `json:"SHA256"`
SHA512 string `json:"SHA512"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.