Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 586 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 586 Bytes

Teaching Go and Crypto for Blockchain & Criptocurrencies

Samples of how to cryptograph or sign data and later decrypt or verifies it using ECDSA and Keccak256. Also, sample of how to encrypt and decrypt using EC and secp256k1 parameters (same parameters used by Bitcoin and Ethereum)

How to execute the examples

After installing Go, set GOPATH, clone this repo and using Linux or Mac terminal run:

$ go get ./...

It will download all dependencies to your GOPATH. Later access the repo directory and run:

$ go run <<directoryExampleYouWant>>/main.go