Documentation ¶
Index ¶
- func ByteCountDecimal(b int64) string
- func Decrypt(ciphertext []byte, key *[32]byte) (plaintext []byte, err error)
- func Dice(i int) string
- func Encrypt(plaintext []byte, key *[32]byte) (ciphertext []byte, err error)
- func FileExists(name string) bool
- func FileHash(name string) (hash string)
- func GetIPAddrAndPort() (string, string)
- func NewEncryptionKey() *[32]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountDecimal ¶
func FileExists ¶
func GetIPAddrAndPort ¶
func NewEncryptionKey ¶
func NewEncryptionKey() *[32]byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.