dominikwilkowski / vault

An open source multi-platform password manager, written in Rust.
https://rustyvault.com/
GNU General Public License v3.0
12 stars 2 forks source link

Tests - Encryption #78

Closed thewizzy closed 3 months ago

thewizzy commented 3 months ago

Considering how to test the testable code. Encryption was a good starting point.

The nonce were generated every single time as something random, use a cfg switch on test to "mock" it to a consistent Nonce.