crypto

package
v0.4.18 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package crypto provides support for converting secp256k1 keys between Flow and SEC compressed formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFlowPublicKey

func ConvertFlowPublicKey(key []byte) ([]byte, error)

ConvertFlowPublicKey re-encodes a secp256k1 public key from the format used by Flow to the SEC compressed format.

func ConvertRosettaPublicKey

func ConvertRosettaPublicKey(key []byte) ([]byte, error)

ConvertRosettaPublicKey re-encodes a SEC compressed secp256k1 public key to the format expected by Flow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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