filecrypt

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SktExt = ".skt"

Variables

This section is empty.

Functions

func DecryptFile

func DecryptFile(filepath string, passphrase []byte) error

func EncryptFile

func EncryptFile(filepath string, algorithm crypter.Algorithm, passphrase []byte) error

Types

type FileCrypt

type FileCrypt struct {
	// contains filtered or unexported fields
}

func New

func New(srcpath, dstpath string, algorithm crypter.Algorithm, passphrase []byte) (*FileCrypt, error)

func (*FileCrypt) Decrypt

func (fc *FileCrypt) Decrypt() (err error)

func (*FileCrypt) Encrypt

func (fc *FileCrypt) Encrypt() (err error)

Jump to

Keyboard shortcuts

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