lib

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(keyFile string, src string) error

Decrypt decrypts a file that was encrypted with Encrypt, using the key in keyFile

func Encrypt

func Encrypt(keyFile string, file string) error

Encrypt run aes encryption on file, using the key in keyFile

func Gen

func Gen(keyName string) error

Gen creates a new aes key and writes it to disk

func Merge

func Merge(files []string) error

Merge reads the files, and writes the recovered secret

func Split

func Split(file string, parts int, threshold int) error

Split reads the fileName, and writes the shards to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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