Commit Graph

2 Commits

Author SHA1 Message Date
K Shiva Kiran 7ad15fce76 crypt: Switch to using large unsigned integers
- The crate now uses crypto_bigint U128 ints instead of i32.
- OsRng instead of thread_rng(), (cryptographically more secure?).
- Modular arithmetic methods from crypto_bigint, no more overflows.
- Error code for invalid parameters.
- Simpler naming.
2024-02-29 00:45:32 +05:30
K Shiva Kiran b10874e5d6 Initial commit
Encryption and Decryption for a single int block implemented.
2024-02-13 08:25:13 +05:30