snowv

Crates.iosnowv
lib.rssnowv
version0.1.0
created_at2025-02-21 06:38:47.586016+00
updated_at2025-02-21 06:38:47.586016+00
descriptionThe SNOW-V stream cipher
homepage
repositoryhttps://github.com/ericlagergren/snow
max_upload_size
id1563660
size75,689
Eric Lagergren (ericlagergren)

documentation

https://docs.rs/snowv

README

snowv

Docs

This crate implements the SNOW-V stream cipher.

Installation

[dependencies]
snowv = "0.1"

Performance

The ARMv8 and x86-64 assembly backends run at about 0.65 cycles per byte. The x86-64 implementation requires SSE2 and PCLMULQDQ instructions. The ARMv8 implementation requires NEON and PMULL.

The defualt Rust implementation will be selected if the CPU does not support either assembly implementation. (This implementation can also be selected with the soft feature.) It is much slower at around 9 cycles per byte.

Security

Disclosure

This project uses full disclosure. If you find a security bug in an implementation, please e-mail me or create a GitHub issue.

Disclaimer

You should only use cryptography libraries that have been reviewed by cryptographers or cryptography engineers. While I am a cryptography engineer, I'm not your cryptography engineer, and I have not had this project reviewed by any other cryptographers.

Commit count: 2

cargo fmt