deprecated

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivateKeyFromBytes

func PrivateKeyFromBytes(typev ogcrypto_interface.CryptoType, bytes []byte) ogcrypto_interface.PrivateKey

func PrivateKeyFromRawBytes

func PrivateKeyFromRawBytes(bytes []byte) ogcrypto_interface.PrivateKey

func PrivateKeyFromString

func PrivateKeyFromString(value string) (priv ogcrypto_interface.PrivateKey, err error)

func PublicKeyFromBytes

func PublicKeyFromBytes(typev ogcrypto_interface.CryptoType, bytes []byte) ogcrypto_interface.PublicKey

func PublicKeyFromRawBytes

func PublicKeyFromRawBytes(bytes []byte) ogcrypto_interface.PublicKey

func PublicKeyFromSignature

func PublicKeyFromSignature(sighash og_interface.Hash, signature *ogcrypto_interface.Signature) (pubKey ogcrypto_interface.PublicKey, err error)

func PublicKeyFromString

func PublicKeyFromString(value string) (pub ogcrypto_interface.PublicKey, err error)

func PublicKeyFromStringWithCryptoType

func PublicKeyFromStringWithCryptoType(ct, pkstr string) (pub ogcrypto_interface.PublicKey, err error)

func Ripemd160

func Ripemd160(bytes []byte) []byte

func Sha256

func Sha256(bytes []byte) []byte

func SignatureFromBytes

func SignatureFromBytes(typev ogcrypto_interface.CryptoType, bytes []byte) ogcrypto_interface.Signature

func SignatureFromRawBytes

func SignatureFromRawBytes(bytes []byte) ogcrypto_interface.Signature

func SignatureValues

func SignatureValues(sig []byte) (r, s, v *big.Int, err error)

Types

This section is empty.

Directories

Path Synopsis
ed25519
Package edwards25519 implements operations in GF(2**255-19) and on an Edwards curve that is isomorphic to curve25519.
Package edwards25519 implements operations in GF(2**255-19) and on an Edwards curve that is isomorphic to curve25519.
secp256k1
Package secp256k1 wraps the bitcoin secp256k1 C library.
Package secp256k1 wraps the bitcoin secp256k1 C library.

Jump to

Keyboard shortcuts

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