CRYPTO errors
| Code | What it means |
|---|---|
| CRYPTO.BAD_ALGORITHM | Unknown HMAC algorithm '…' |
| CRYPTO.BAD_FORMAT | Unknown output format '…' |
| CRYPTO.BAD_KEY | The key is not valid Base64 |
| CRYPTO.BAD_KEY_SIZE | Key size must be 2048, 3072 or 4096 bits, not … |
| CRYPTO.BAD_OPTION | Unknown if_keys_exist '…' |
| CRYPTO.KEY_EXISTS | Keys already exist in … |
| CRYPTO.KEY_FORMAT | Use an unencrypted PKCS#8 private key (BEGIN PRIVATE KEY) |
| CRYPTO.NOT_ENCRYPTED | The data was not encrypted by this toolkit |
| CRYPTO.TOO_LONG | Text is too long for RSA |
| CRYPTO.WRONG_KEY | Decryption failed: wrong passphrase or the data was changed |