crypto

package
v0.0.0-...-94fe990 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDecrypt

func CopyDecrypt(key []byte, src io.Reader, dst io.Writer) (int, error)

func CopyEncrypt

func CopyEncrypt(key []byte, src io.Reader, dst io.Writer) (int, error)

func GenerateID

func GenerateID() string

TODO sign every message with public key

func HashKey

func HashKey(key string) string

TODO: implement interface for encryption and decryption

func NewEncryptionKey

func NewEncryptionKey() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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