12 Commits

Author SHA1 Message Date
Jack Grigg
826ea30004 Introduce raw::{DecryptionPrimitive, EncryptionPrimitive} 2020-03-06 18:05:57 +01:00
dignifiedquire
021ae799da feat: implement zeroing using the zeroize crate 2019-03-26 14:53:53 +01:00
phayes
bbd63fbba4
Switch to using for all crate level uses 2019-03-18 09:29:05 -07:00
Patrick D Hayes
1703482ba9 feat: split (un)blind into their own functions, exposing raw RSA functions via internals module
* Splitting blind and unblind into their own functions
* Adding public functions to private-key for blinding and unblinding
* Re-exporting raw RSA functions into a 'danger' module
* Better documentation
* Typos and grammar
* Updating as per suggestions, moving things into an 'internals' module which is optionally made public
* We blind and unblind using n and e, so public key is sufficient
2019-03-16 10:30:32 +01:00
dignifiedquire
f99d2160c1 chore: update dependencies 2019-02-20 18:50:46 +01:00
dignifiedquire
fe7c5105fb feat: use BigUint to represent the exponent 2018-11-08 18:17:59 +01:00
dignifiedquire
4d046fa70e chore: some code cleanup from clippy 2018-11-07 14:28:16 +01:00
dignifiedquire
73cbdd7c0d fix: proper error handling 2018-07-24 23:46:58 +02:00
dignifiedquire
f6f909d344 feat: implement pkcs1v15 signature verification 2018-07-24 22:04:41 +02:00
dignifiedquire
79bb8fa9b3 test(bench): add decrypt and sign benchmarks 2018-07-24 15:09:03 +02:00
dignifiedquire
3943cd44fb feat: implemen pkcs1v15 signing 2018-07-24 14:31:06 +02:00
dignifiedquire
6d2b756864 feat: implement pkcs1v15 encryption and decryption 2018-07-24 01:01:44 +02:00