Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

chacha20-fpc

Self-contained ChaCha20 cipher unit for Free Pascal with support for both IETF and original variants.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

chacha20-fpc

ChaCha20 stream cipher in Pascal, with AVX2 assembler acceleration when available (SSE2 otherwise). Encryption/decryption throughput on my hardware: ~1300 MB/s with AVX2, ~700 MB/s with SSE2, ~70 MB/s pure Pascal.

Requires a compiler with {$mode unleashed} support.

Usage

See the demo.