radumarias / rencrypt-python

A Python encryption library implemented in Rust. It supports AEAD with AES-GCM and ChaCha20Poly1305. It uses ring crate to handle encryption
Apache License 2.0
10 stars 5 forks source link

Add more tests and benchmarks #5

Open radumarias opened 4 months ago

radumarias commented 4 months ago

Add more tests for other ciphers too in https://github.com/radumarias/rencrypt-python/blob/main/src/lib.rs#L242

You can take flow from https://github.com/radumarias/rencrypt-python/tree/main/examples and add tests for those in Rust.

You can also add tests in dedicated ciphers module files.

You can add benchmarks for each cipher also.

Also more Python tests would be helpful https://github.com/radumarias/rencrypt-python/blob/main/tests/test_rencrypt.py

https://youtu.be/MiLp0InGOkI?si=xrt3V57DuL1uG2Vr