derecalliance / cryptography

cryptography primitives (secret sharing, secure channel) for implementing the DeRec protocol
Apache License 2.0
6 stars 0 forks source link

Sign-then-encrypt functionality #14

Closed rsinha closed 8 months ago

rsinha commented 9 months ago

Adds a sign-then-encrypt method, in addition to the underlying signing and encryption methods (which are used in pairing). The implementation uses the ECIES scheme for encryption, and ECDSA for signatures -- both using secp256 curve.