nip04

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeSharedSecret

func ComputeSharedSecret(senderPrivKey string, receiverPubKey string) (sharedSecret []byte, err error)

ECDH

func Decrypt

func Decrypt(content string, key []byte) (string, error)

aes-256-cbc

func Encrypt

func Encrypt(message string, key []byte) (string, error)

aes-256-cbc

Types

This section is empty.

Jump to

Keyboard shortcuts

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