Docs.rs
glass_pumpkin-1.6.0
glass_pumpkin 1.6.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
Crates.io
Source
Owners
mikelodder7
Dependencies
core2 ^0.4
normal
num-bigint ^0.4
normal
num-integer ^0.1
normal
num-traits ^0.2
normal
once_cell ^1.17
normal
rand_core ^0.6
normal
criterion ^0.5
dev
rand ^0.8
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In glass_pumpkin::safe_prime
?
Function
glass_pumpkin
::
safe_prime
::
check
source
·
[
−
]
pub fn check(candidate: &
BigUint
) ->
bool
Expand description
Checks if number is a safe prime