Documentation
¶
Overview ¶
Package crypto provides cryptographic actions and primitives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
GenerateRandomBytes returns random bytes. If rand.Read fails, the process panics.
func GenerateRandomString ¶
GenerateRandomString returns a base64 encoded string of bytes of the given size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.