[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › SqliteEncryptionUnsupportedError

Defined in: [packages/sqlite-wasm/src/Database.ts:564](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/Database.ts#L564)

What Evolu's codec refuses because it cannot keep a database encrypted, or
because a database keyed through SQL would stay plaintext. For an encrypted
database, a read or write that is not a whole page, a page 1 that would
change the page size or the reserved bytes, as a VACUUM that changes the page
size writes it, turning `secure_delete` off, or the hot journal of one opened
without its key, which fails with SQLITE_CANTOPEN and stays for the key. For
any database on a pool, the keying pragmas, such as `PRAGMA key`, and a page
1 that says WAL.

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"SqliteEncryptionUnsupported"`\>

## Properties

<a id="type"></a>

### type

```ts
readonly type: "SqliteEncryptionUnsupported";
```

Defined in: packages/common/dist/src/Type.d.ts:9304

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)