IronCoreLabs / recrypt-rs

A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.
https://crates.io/crates/recrypt
GNU Affero General Public License v3.0
144 stars 23 forks source link

Add + and - functions to PrivateKey to allow combining 2 PrivateKeys #86

Closed coltfred closed 5 years ago

coltfred commented 5 years ago

We should write a function + that takes a 2nd PrivateKey and adds the underlying numbers together. Also add - for subtracting them.