Golang wrapper for libhydrogen.
If libhydrogen is already installed system-wide, just go get
the project
and import libhydrogen-go
like anything else. Otherwise, you may build
libhydrogen.a
inside the submodule directory.
go get github.com/someburner/libhydrogen-go
# to build inside submodule, or run the examples
cd github.com/someburner/libhydrogen-go
make libhydrogen
# go run tests/main.go
make run
See example.
- cgo reference
Several methods in core.go
taken from libsodium-go
.