eccp

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2018 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package eccp implements a Elliptic Curve Compressed Point marshaler

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(curve elliptic.Curve, x, y *big.Int) []byte

Marshal encodes a ECC Point into it's compressed representation

func Unmarshal

func Unmarshal(curve elliptic.Curve, data []byte) (x, y *big.Int)

Unmarshal decodes an ECC Point from any representation

https://github.com/kmackay/micro-ecc/blob/1fce01e69c3f3c179cb9b6238391307426c5e887/uECC.c#L1841

Types

This section is empty.

Jump to

Keyboard shortcuts

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