Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/store-sqlite-encrypted / RekeyDatabaseOptions
Interface: RekeyDatabaseOptions
Defined in: packages/store-sqlite-encrypted/src/rekey.ts:31
Options for rekeyDatabase.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cipher? | readonly | EncryptionCipher | Cipher selection. Default 'sqlcipher'. | packages/store-sqlite-encrypted/src/rekey.ts:39 |
newPassphrase | readonly | string | Buffer<ArrayBufferLike> | New passphrase to apply. | packages/store-sqlite-encrypted/src/rekey.ts:37 |
oldPassphrase | readonly | string | Buffer<ArrayBufferLike> | Existing passphrase the DB is currently encrypted with. | packages/store-sqlite-encrypted/src/rekey.ts:35 |
path | readonly | string | Path to the encrypted DB. | packages/store-sqlite-encrypted/src/rekey.ts:33 |