latest.ipv8.attestation.wallet.primitives.attestation
Module Contents
Functions
|
Convert any string type to bytes. |
|
Convert a SHA512 hash to an integer. |
|
Convert a SHA256 hash to an integer. |
|
Convert a SHA256 4 byte hash to an integer. |
- latest.ipv8.attestation.wallet.primitives.attestation.to_ascii(value: str | bytes) bytes
Convert any string type to bytes.
- latest.ipv8.attestation.wallet.primitives.attestation.sha512_as_int(value: str | bytes) int
Convert a SHA512 hash to an integer.