Documentation ¶
Overview ¶
Package utils provides auxiliary functions used throughout the repo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressECPBytes ¶
CompressECPBytes takes the uncompressed byte representation of an EC point and returns corresponding compressed representation.
func FromPEMFile ¶
func FromPEMFile(o encoding.BinaryUnmarshaler, f, pemType string) error
func GenerateRandomBytes ¶
GenerateRandomBytes return slice of bytes of specified size of cryptographically secure random numbers. Refer to https://golang.org/pkg/crypto/rand/ for details regarding sources of entropy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.