utils

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalSHA256FromReader

func CalSHA256FromReader(r io.Reader) (*repb.Digest, error)

func CalSHA256OfInput

func CalSHA256OfInput(input []byte) *repb.Digest

func RandomBytes

func RandomBytes(byteLength int) []byte

func RandomString

func RandomString(stringLength int) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL