cipher

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockCipher

type BlockCipher interface {
	// Encrypt функция шифрования
	Encrypt(plaintext []byte) (ciphertext []byte, err error)
	// Decrypt функция расшифрования
	Decrypt(ciphertext []byte) (plaintext []byte, err error)
}

BlockCipher представляет собой интерфейс с методами шифрования и расшифрования бинарных данных

Directories

Path Synopsis
aes
gcm

Jump to

Keyboard shortcuts

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