Comments (2)
using dk for encryption is a cool optimisation.
The interface to use it is the same as for regular encryption just replace EncryptionKey with DecryptionKey.
https://github.com/mortendahl/rust-paillier/blob/master/src/core.rs#L237
What kind of tests/examples are you interested in? it should be straight forward
(note that in general, the encryptor do not need to know to decryption key. The above optimisations works in the special case that the encryptor is also the one who generated the keys )
from rust-paillier.
Sounds good. I just thought there should be unit tests for this optimisation.
from rust-paillier.
Related Issues (20)
- Use of mod N instead of mod N^2 in proofs HOT 1
- optimize code against side-channel attacks HOT 2
- Fix ramp/framp support HOT 2
- Only export unsigned numbers
- update documentation
- Port functionality from UTexas Java implementation
- zero knowledge proof for correct message
- No short-circuiting in correct key proof
- zero-knowledge proof for correct construction of ciphertext
- Better structure for interactive proofs
- Ramp support for proofs
- zero knowledge proof for encryption of same value under two different keys HOT 2
- Feature Request: Proof of Membership HOT 9
- Failure to compile frame with nightly compiler HOT 9
- Supporting signed integers and floats
- Ciphertext-Plaintext addition HOT 3
- purpose of wrapping RawCiphertext via EncodedCiphertext? HOT 1
- note: LINK : fatal error LNK1181: cannot open input file 'gmp.lib'
- Updating ring to ^0.16.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-paillier.