Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
chacha20
✓ github.com/Yawning/chacha20
Creates a new ChaCha20 cipher with a key and nonce.
package main
import (
"fmt"
"github.com/Yawning/chacha20"
)
func main() {
key := []byte("examplekey1234567")
nonce := []byte("nonce1234")
cipher, err := chacha20.New(key, nonce)
if err != nil {
panic(err)
}
fmt.Println(cipher)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20170904085104-e3b1f968fc63latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.