#elliptic-curve #ecies #encryption #generic #scheme #key #suite

generic-ecies

ECIES encryption scheme for generic parameters

1 unstable release

new 0.1.0 Nov 19, 2024

#1237 in Cryptography

Download history 145/week @ 2024-11-17

145 downloads per month

MIT/Apache

48KB
655 lines

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


lib.rs:

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

Dependencies

~2–3.5MB
~67K SLoC