# Module /crypto/rsa

RSA public/private key parsing, PKCS#1/PSS signing, and cryptographic signature verification.

```tangu
(use /crypto/rsa)
```

## Functions & symbols

### verify-signature

`(verify-signature public-key message signature) -> Bool`

Verifies an RSASSA-PKCS1-v1_5 SHA-256 signature using a DER-encoded RSA public key.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `public_key` | `Slab` | no | DER-encoded RSA public key (PKCS#1 or X.509 SPKI/PKCS#8) |
| `message` | `Slab` | no | Raw message bytes (hashed internally with SHA-256) |
| `signature` | `Slab` | no | PKCS#1 v1.5 RSA signature bytes |

```tangu
(rsa/verify-signature spki-slab msg-slab sig-slab)
```
