Danger
This is a “Hazardous Materials” module. You should ONLY use it if you’re 100% absolutely sure that you know what you’re doing because this module is full of land mines, dragons, and dinosaurs with laser guns.
New in version 0.2.
Parameters: | data (bytes) – The data you want to sign. |
---|
Return bytes signature: | |
---|---|
The signature. |
New in version 0.2.
Parameters: | data (bytes) – The data you wish to verify using the signature. |
---|
Raises cryptography.exceptions.InvalidSignature: | |
---|---|
If the signature does not validate. |