We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa487d commit 265d554Copy full SHA for 265d554
docs/Runtime Environment/Crypto.md
@@ -467,11 +467,13 @@ print(base64.encode(enc))
467
print(enc |> crypto.decrypt|"rsa-pkcs1", priv|) --> A secret message to the owner of the private key.
468
```
469
### `crypto.sign`
470
+Signs a message as per the PKCS#1 v1.5 scheme.
471
#### Parameters
472
1. `data` — The data to sign.
473
2. `mode` — "rsa-sha256" or "rsa-sha1".
474
3. `key` — The private key to use.
475
### `crypto.verify`
476
+Verifies a message as per the PKCS#1 v1.5 scheme.
477
478
1. `data` — The data that was signed.
479
0 commit comments