crypto

package
v1.9.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcSharedKey

func CalcSharedKey(devicePublicB64, clientPrivateB64 string) ([]byte, error)

func Decode

func Decode(src, key32 []byte) ([]byte, error)

func DecodeNonce

func DecodeNonce(src, nonce8, key32 []byte) ([]byte, error)

func Encode

func Encode(src, key32 []byte) ([]byte, error)

func GenerateKey

func GenerateKey() ([]byte, []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