latest.ipv8.attestation.wallet.primitives.cryptography_wrapper
Module Contents
Functions
|
Generate a 'safe' prime p ((p-1)/2 is also prime). |
|
Check a number for primality. |
- latest.ipv8.attestation.wallet.primitives.cryptography_wrapper.generate_safe_prime(bit_length: int, backend: cryptography.hazmat.backends.openssl.backend.Backend = default_backend()) int
Generate a ‘safe’ prime p ((p-1)/2 is also prime).