public RSAPKCS1Signature(hash as Object) throws CryptoException:
Creates an RSA PKCS#1 v1.5 signature bound to the given digest algorithm.
| Parameter | Description |
|---|---|
hash | Digest algorithm instance. |
import klyn.cryptography signature = RSAPKCS1Signature(SHA512()) print(signature.hashAlgorithm)