chacha8-go

module
v0.0.0-...-f3cfe27 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: BSD-3-Clause

README

chacha8-go

ChaCha8 & ChaCha8-Poly1305 in Go, modified from the ChaCha20 & ChaCha20-Poly1305 implementations in x/crypto to use 8 rounds instead of 20.

Currently only the generic implementation is guaranteed to be correct. All assembly implementations are best-effort and may not be correct.

License

The code is derived from x/crypto and thus is licensed under the same terms as x/crypto. See LICENSE for more information.

Directories

Path Synopsis
Package chacha8 implements the ChaCha8 and XChaCha8 encryption algorithms.
Package chacha8 implements the ChaCha8 and XChaCha8 encryption algorithms.
Package chacha8poly1305 implements the ChaCha8-Poly1305 AEAD and its extended nonce variant XChaCha8-Poly1305.
Package chacha8poly1305 implements the ChaCha8-Poly1305 AEAD and its extended nonce variant XChaCha8-Poly1305.
internal
alias
Package alias implements memory aliasing tests.
Package alias implements memory aliasing tests.
poly1305
Package poly1305 implements Poly1305 one-time message authentication code as specified in https://cr.yp.to/mac/poly1305-20050329.pdf.
Package poly1305 implements Poly1305 one-time message authentication code as specified in https://cr.yp.to/mac/poly1305-20050329.pdf.

Jump to

Keyboard shortcuts

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