2.13.ipv8.attestation.wallet.primitives.cryptography_wrapper
Module Contents
Functions
- 2.13.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).