Documentation ¶
Index ¶
- func AESGCMDecrypt(data []byte, key []byte) ([]byte, error)
- func AESGCMEncrypt(data []byte, key []byte) ([]byte, error)
- func ComputeBlockSha1(r io.ReadSeeker, blockSize int) [][]byte
- func ComputeMd5AndLength(r io.ReadSeeker) ([]byte, uint32)
- func ComputeMd5AndLengthWithLimit(r io.ReadSeeker, limit int64) ([]byte, uint32)
- func ComputeMd5AndSha1AndLength(r io.ReadSeeker) ([]byte, []byte, uint64)
- func ComputeSha1AndLength(r io.ReadSeeker) ([]byte, uint32)
- func GetSha1Status(h hash.Hash) []byte
- func MD5Digest(v []byte) []byte
- func RandU32() uint32
- func SHA1Digest(v []byte) []byte
- func SHA256Digest(v []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeBlockSha1 ¶ added in v0.0.25
func ComputeBlockSha1(r io.ReadSeeker, blockSize int) [][]byte
func ComputeMd5AndLength ¶ added in v0.0.11
func ComputeMd5AndLength(r io.ReadSeeker) ([]byte, uint32)
func ComputeMd5AndLengthWithLimit ¶ added in v0.0.17
func ComputeMd5AndLengthWithLimit(r io.ReadSeeker, limit int64) ([]byte, uint32)
func ComputeMd5AndSha1AndLength ¶ added in v0.0.11
func ComputeMd5AndSha1AndLength(r io.ReadSeeker) ([]byte, []byte, uint64)
func ComputeSha1AndLength ¶ added in v0.0.11
func ComputeSha1AndLength(r io.ReadSeeker) ([]byte, uint32)
func GetSha1Status ¶ added in v0.0.25
func SHA1Digest ¶
func SHA256Digest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.