cipherfs

package
v0.0.0-...-a532a67 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

type Cipher interface {
	DecryptReader(key []byte, reader filesystem.Reader) (filesystem.Reader, error)
	EncryptWriter(key []byte, writer filesystem.Writer) (filesystem.Writer, error)
	Encrypt(key []byte, data []byte) (encrypted []byte, err error)
	Decrypt(key []byte, data []byte) (decrypted []byte, err error)
}

Cipher provide encrypt/decrypt functions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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