crypto

package module
v0.0.0-...-2462c95 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 0 Imported by: 0

README

crypto

Package crypto presents interface (and its implementation sets) of a crypto functions.

See GoDoc for documentation and examples.

Documentation

Overview

Package crypto presents interface (and its implementation sets) of a crypto functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decryptor

type Decryptor interface {
	// Decrypt - decrypted cipher to plain value.
	Decrypt(cipher []byte) (plain []byte, err error)
}

Decryptor provides decrypted cipher to plain value.

type Encryptor

type Encryptor interface {
	// Encrypt - encrypted plain to cipher value.
	Encrypt(plain []byte) (cipher []byte, err error)
}

Encryptor provides encrypted plain to cipher value.

Directories

Path Synopsis
Package cryptopasta represents the interface crypto implementation.
Package cryptopasta represents the interface crypto implementation.

Jump to

Keyboard shortcuts

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