#encryption #elliptic-curve

generic-ecies

ECIES encryption scheme for generic parameters

1 unstable release

0.1.0 Nov 19, 2024

#148 in #elliptic-curve

Download history 284/week @ 2025-09-14 117/week @ 2025-09-21 98/week @ 2025-09-28 38/week @ 2025-10-05 8/week @ 2025-10-19 117/week @ 2025-10-26 15/week @ 2025-11-02 23/week @ 2025-11-09 88/week @ 2025-11-16 77/week @ 2025-11-23

188 downloads per month

MIT/Apache

48KB
655 lines

ECIES is a scheme for efficient ciphers with asymmetric key using elliptic curves and symmetric ciphers. This implementation is generic in its components, thanks to using generic_ec and RustCrypto traits. You can use the ciphersuites defined by us in advance, like curve25519xsalsa20hmac and curve25519aes128_cbchmac, or you can define your own Suite.

This implementation is based on SECG SEC-1

You can find examples of usage in the predefined ciphersuites: curve25519xsalsa20hmac and curve25519aes128_cbchmac


generic-ecies

ECIES is a scheme for efficient ciphers with asymmetric key using elliptic curves and symmetric ciphers. This implementation is generic in its components, thanks to using generic_ec and RustCrypto traits. You can use the ciphersuites defined by us in advance, like curve25519xsalsa20hmac and curve25519aes128_cbchmac, or you can define your own.

This implementation is based on SECG SEC-1

For more information and examples, see the docs page

Dependencies

~2.2–4MB
~80K SLoC