helpers

package
v0.0.0-...-db26c95 Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: MIT Imports: 11 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner()

Banner outputs gizo banner in terminal

func Decode64

func Decode64(s string) []byte

Decode64 used to decode base64

func Decrypt

func Decrypt(data []byte, passphrase string) ([]byte, error)

Decrypt returns decrypted data

func Encode64

func Encode64(b []byte) string

Encode64 used to encode serilized block to base64 for writing to *.blk file

func Encrypt

func Encrypt(data []byte, passphrase string) []byte

Encrypt returns encrypted data

func FileExists

func FileExists(file string) bool

FileExists checks if file exists on the disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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