eccryptonx

package module
v0.0.0-...-a3eaf05 Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 5 Imported by: 0

README

EC Crypto NX

Golang (Go) lib to Signing data, Verifying digital signatures and encrypt and decrypt data using ECDSA, Keccak256 and SecP256k1 parameters

For examples how to use it please visit: https://github.com/jeffprestes/verificaassinaturacrypto

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWithECPrivateKey

func DecryptWithECPrivateKey(privateKey, encryptedText string) (decryptedText string, err error)

DecryptWithECPrivateKey decrypt a text using EC (with secp256k1 parameters) private key

func EncryptECWithPublicKey

func EncryptECWithPublicKey(pubKeyInHexaString, textToEncrypt string) (encryptedText string, err error)

EncryptECWithPublicKey using EC (with secp256k1 parameters) public key in hexadecimal string format encrypt a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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