Skip to content

AnyEncryptionKey: expose optimized pow_mod_n #17

@survived

Description

@survived

Expose method AnyEncryptionKey::pow_mod_n(x, e) that returns $x^e \bmod N$ where $N$ is Paillier public key. It is optimized when factorization of $N$ is known.

It can be used, for instance, in paillier-zk crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions