Crate lnpbp_elgamal

Crate lnpbp_elgamal 

Source
Expand description

ElGamal encryption scheme with SECP256k1 curve. According to https://crypto.stackexchange.com/a/45042

Enums§

Error
Errors during ElGamal encryption/decryption

Functions§

decrypt
Decrypts provided byte string using specified decryption and unblinding keys according to LNPBP-31 ElGamal schema
encrypt
Encrypts provided byte string using specified encryption and blinding keys according to LNPBP-31 ElGamal schema