keylib

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConverHederaPublicKeyToEthereunAddress

func ConverHederaPublicKeyToEthereunAddress(hederaPublicKey string) string

func ConvertHederaPublicKeyToPeerID

func ConvertHederaPublicKeyToPeerID(hederaPublicKey string) (string, error)

func DecryptFromOtherside

func DecryptFromOtherside(message []byte, myPrivateKeyEth string, otherPubliKeyHedera string) ([]byte, error)

func EncryptForOtherside

func EncryptForOtherside(message []byte, myPrivateKeyETH string, otherPubliKeyHedera string) ([]byte, error)

func IsValidEthereumAddress added in v0.0.21

func IsValidEthereumAddress(address string) bool

IsValidEthereumAddress validates if the given string is a valid Ethereum address format

Types

This section is empty.

Jump to

Keyboard shortcuts

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