IronCoreLabs / IronCoreLabs/recrypt-rs
Need more regression tests with fixed inputs to verify expected outputs
Open
tech debt
- Dominant language
- Rust
- Stars
- 167
- Forks
- 23
- Avg merge
- 8m
- Merged PRs (30d)
- 2
Description
Should have more tests that run hard-coded values through the recrypt algorithms to verify that the expected outputs are produced. For example:
- For a fixed RNG (all zeroes, all ones, or a known sequence of some kind), make sure we get the expected value from GeneratePlaintext
- For a fixed RNG, make sure we get the expected output from GenerateKeyPair
- For a fixed RNG and fixed input, make sure we get the expected TransformKey
Similar checks for encrypt operations and transform operations.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.