crypto

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ECDH = &EncryptECDH{}

Functions

This section is empty.

Types

type EncryptECDH

type EncryptECDH struct {
	InitialShareKey []byte
	PublicKey       []byte
}

func (*EncryptECDH) DoEncrypt

func (e *EncryptECDH) DoEncrypt(d, k []byte) []byte

func (*EncryptECDH) Id

func (e *EncryptECDH) Id() byte

type EncryptSession

type EncryptSession struct {
	T133 []byte
}

func NewEncryptSession

func NewEncryptSession(t133 []byte) *EncryptSession

func (*EncryptSession) DoEncrypt

func (e *EncryptSession) DoEncrypt(d, k []byte) []byte

func (*EncryptSession) Id

func (e *EncryptSession) Id() byte

Jump to

Keyboard shortcuts

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