cryptography

package
v0.0.0-...-750d00c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypter

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

func NewCrypter

func NewCrypter(key []byte) Crypter

func (Crypter) Decrypt

func (c Crypter) Decrypt(data []byte) []byte

type KeyExchange

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

func NewKeyExchange

func NewKeyExchange() (kex KeyExchange)

func (KeyExchange) Private

func (kex KeyExchange) Private(public *big.Int) (private *big.Int)

func (KeyExchange) Public

func (kex KeyExchange) Public() (public *big.Int)

Jump to

Keyboard shortcuts

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