blck-snwmn / toychacha

Toy implementation of chacha20 poly1305 written in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-chacha

Go test&lint CodeQL

Toy implementation of chacha20 poly1305 written in Go.

See: https://datatracker.ietf.org/doc/html/rfc8439

Test

go test

Benchmark

go test -bench . -benchmem

Coverage

go test -v -coverpkg=. ./...

WASI

Build

tinygo build -o wasm.wasm -target wasi --no-debug ./cmd/main.go

Run

wasmtime wasm.wasm "Ladies and Gentlemen of the class of '99: If I could offer you only one tip for the future, sunscreen would be it."

About

Toy implementation of chacha20 poly1305 written in Go.


Languages

Language:Go 100.0%