encryptor

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkProcessor

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

func NewChunkProcessor

func NewChunkProcessor(key []byte) (*ChunkProcessor, error)

type ChunkResult added in v1.0.1

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

type FileEncryptor

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

func NewFileEncryptor

func NewFileEncryptor(key []byte) (*FileEncryptor, error)

func (*FileEncryptor) Encrypt

func (f *FileEncryptor) Encrypt(r io.Reader, w io.Writer, size int64) error

func (*FileEncryptor) GetNonce

func (f *FileEncryptor) GetNonce() ([]byte, []byte)

Jump to

Keyboard shortcuts

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