Commit Graph

28 Commits

Author SHA1 Message Date
K Shiva Kiran 4882fda20b bump: Fixed base64 feature scoping 2024-05-07 14:56:58 +05:30
K Shiva Kiran 23e1d52b04 readme: Added example inline 2024-05-07 14:50:52 +05:30
K Shiva Kiran 2f7deacdb1 HOTFIX: Fix base64 cfg attribute 2024-05-07 14:45:07 +05:30
K Shiva Kiran 4c8dac91b0 crates.io: Added categories and keyword 2024-05-07 14:31:10 +05:30
K Shiva Kiran 5e17b672b7 Minor version bump 2024-05-01 12:03:49 +05:30
K Shiva Kiran 53870a550a Bump version, enable documentation of features in docs.rs 2024-05-01 12:02:36 +05:30
K Shiva Kiran 2b63047eb9 README: Updated Todo, usage and introduction 2024-05-01 11:25:15 +05:30
K Shiva Kiran 340c439c5c Huge Refactor
Traits have been decoupled, simplifications have been made for generics.
2024-05-01 11:18:18 +05:30
K Shiva Kiran 67ab21cdbe doc: fix example hyperlink 2024-04-18 23:08:04 +05:30
K Shiva Kiran 1aa60592ba 0.2.0: bump version 2024-04-18 22:54:06 +05:30
K Shiva Kiran 83af1a19a2 algo/init(): Panic rather than Error incase of wrong parameters 2024-04-18 19:41:01 +05:30
K Shiva Kiran e0915ab25c readme: Updated Todo 2024-04-18 19:32:13 +05:30
K Shiva Kiran b75355eed3 encoding: Renamed export methods 2024-04-18 19:32:07 +05:30
K Shiva Kiran 70214e1b6f Added benchmark 2024-04-18 19:22:57 +05:30
K Shiva Kiran 1726d45647 Added Threading 2024-04-18 19:21:23 +05:30
K Shiva Kiran 1eca9a6aa0 License: Add GPLv3 license 2024-04-09 22:35:38 +05:30
K Shiva Kiran 7334c04970 Examples: Simplify encryption example 2024-04-09 22:35:24 +05:30
K Shiva Kiran 45dd149905 Docs: Add Readme 2024-04-09 22:35:24 +05:30
K Shiva Kiran 392d0ca315 Docs: Add documentation comments 2024-04-09 22:35:11 +05:30
K Shiva Kiran c08ad88303 Encoding: Refactor export 2024-04-09 22:28:42 +05:30
K Shiva Kiran e69cd8c2a7 Added functionality to import/export in raw bytes 2024-03-28 20:16:00 +05:30
K Shiva Kiran 6286051e12 Large Refactor: Implement Rust Traits and Generics 2024-03-28 20:15:57 +05:30
K Shiva Kiran 94e89466e6 Impl display for error 2024-03-28 19:09:23 +05:30
K Shiva Kiran 60b9d875f1 Improved encoding, packing and added more examples
Improved serialization for key exports with variable integer encoding.
Space efficient custom byte packing scheme for input [u8] slice.
Added example to demo import/exports.
Removed unnecessary error enums.
Lots of refactoring.
2024-03-17 23:54:44 +05:30
K Shiva Kiran 1ff02271ad working on export 2024-03-13 08:57:08 +05:30
K Shiva Kiran d33b8f534d crypt: Added block level operations
Byte sequenced inputs are converted to 128 bit uints.
To ensure that the formed u128s are within the prime field the current
implementation considers only 15 bytes per 128 bit block instead of 16.

A small example has been added.
2024-03-05 00:04:15 +05:30
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