multiformat

package
v0.176.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeCompressedKey added in v0.138.8

func DeserializeCompressedKey(key string) (string, error)

DeserializeCompressedKey converts a base58 compressed key to a secp251k1 uncompressed key

func DeserializePublicKey

func DeserializePublicKey(key, outputBase string) (string, error)

DeserializePublicKey deserialise a serialised multibase encoded multicodec identified EC public key For details on usage see specs https://specs.status.im/spec/2#public-key-serialization

func SerializeLegacyKey added in v0.125.4

func SerializeLegacyKey(key string) (string, error)

SerializeLegacyKey converts a secp251k1 uncompressed key to a base58 compressed key

func SerializePublicKey

func SerializePublicKey(key, outputBase string) (string, error)

SerializePublicKey serialises a non-serialised multibase encoded multicodec identified EC public key For details on usage see specs https://specs.status.im/spec/2#public-key-serialization

Types

This section is empty.

Jump to

Keyboard shortcuts

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