Commit Graph

4 Commits

Author SHA1 Message Date
K Shiva Kiran 6286051e12 Large Refactor: Implement Rust Traits and Generics 2024-03-28 20:15:57 +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