easycurve25519

package
v0.0.0-...-27c0479 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECDHCurve25519

type ECDHCurve25519 struct {
	// contains filtered or unexported fields
}

ECDHCurve25519 for

func ConvertPEMKeyToRawKey

func ConvertPEMKeyToRawKey(privKPEMStr, pubKPEMStr string, bytesPool *bytesbuff.EasyBytes) (*ECDHCurve25519, error)

ConvertPEMKeyToRawKey for

func NewECDHCurve25519

func NewECDHCurve25519() (*ECDHCurve25519, error)

NewECDHCurve25519 for

func (*ECDHCurve25519) GetKeyOnHexString

func (x *ECDHCurve25519) GetKeyOnHexString() (privK, pubK string)

GetKeyOnHexString for

func (*ECDHCurve25519) GetPEMKey

func (x *ECDHCurve25519) GetPEMKey() (privK, pubK string, err error)

GetPEMKey for

func (*ECDHCurve25519) GetRawKey

func (x *ECDHCurve25519) GetRawKey() (privK, pubK []byte)

GetRawKey for

func (*ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyHexStr

func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyHexStr(pubKHexStr string) (shareKHexStr string, err error)

GetSharedKeyOfSomeOneElseFromPubKeyHexStr for

func (*ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyPEM

func (x *ECDHCurve25519) GetSharedKeyOfSomeOneElseFromPubKeyPEM(pubKPEMStr string, buffPool *bytesbuff.EasyBytes) (string, error)

GetSharedKeyOfSomeOneElseFromPubKeyPEM for

Jump to

Keyboard shortcuts

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