unknown_order 0.12.0

A crate for working with finite fields where the modulus is of unknown order, typtical for RSA, Paillier, Hyperelliptic curves, etc.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "unknown_order"
version = "0.12.0"
authors = ["Michael Lodder <redmike7@gmail.com>"]
build = false
exclude = [
    "*.sh",
    ".git",
    ".gitignore",
    ".github/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A crate for working with finite fields where the modulus is of unknown order,
typtical for RSA, Paillier, Hyperelliptic curves, etc.
"""
documentation = "https://docs.rs/unknown_order"
readme = "README.md"
keywords = [
    "cryptography",
    "rsa",
    "bignum",
    "gmp",
    "security",
]
categories = ["cryptography"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/mikelodder7/unknown_order"

[features]
crypto = [
    "crypto-bigint/alloc",
    "crypto-bigint/serde",
    "crypto-bigint/default",
    "crypto-bigint/subtle",
    "crypto-bigint/getrandom",
    "crypto-primes",
    "hex",
    "multibase",
    "rand/sys_rng",
]
default = ["crypto"]
gmp = [
    "hex",
    "rand/default",
    "rug/num-traits",
    "num-traits",
]
openssl = [
    "dep:openssl",
    "hex",
    "rand/default",
]
rust = [
    "glass_pumpkin",
    "hex",
    "num-bigint",
    "num-integer",
    "num-traits",
    "rand/default",
]
wasm = [
    "getrandom",
    "wasm-bindgen",
    "serde-wasm-bindgen",
]

[lib]
name = "unknown_order"
path = "src/lib.rs"

[dependencies.crypto-bigint]
version = "0.7.0-rc.27"
features = ["zeroize"]
optional = true

[dependencies.crypto-primes]
version = "0.7.0-pre.9"
optional = true

[dependencies.digest]
version = "0.11"

[dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
optional = true

[dependencies.glass_pumpkin]
version = "1.10"
optional = true

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.multibase]
version = "0.9"
optional = true
default-features = false

[dependencies.num-bigint]
version = "0.4"
optional = true

[dependencies.num-integer]
version = "0.1"
optional = true

[dependencies.num-traits]
version = "0.2"
optional = true

[dependencies.openssl]
version = "^0.10.75"
optional = true

[dependencies.rand]
version = "0.10"
default-features = false

[dependencies.rug]
version = "1.28"
features = [
    "integer",
    "rand",
    "std",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "alloc",
    "serde_derive",
]

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.subtle]
version = "2.6"

[dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]
optional = true
default-features = false

[dependencies.zeroize]
version = "1"

[dev-dependencies.bincode]
version = "2.0"
features = ["serde"]

[dev-dependencies.multibase]
version = "0.9"

[dev-dependencies.serde_json]
version = "1.0"