decryptor

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(sharedSecret [32]byte, ciphertext []byte) ([]byte, error)

func GenerateKeyPair

func GenerateKeyPair() ([32]byte, [32]byte)

func GetSharedSecret

func GetSharedSecret(privKey [32]byte, pubKey [32]byte) ([32]byte, error)

func LoadKey

func LoadKey(keyFiles embed.FS, filename string) ([32]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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