Skip to content

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

PropertyModifierTypeDescriptionDefined in
cipher?readonlyEncryptionCipherCipher selection. Default 'sqlcipher'.packages/store-sqlite-encrypted/src/rekey.ts:39
newPassphrasereadonlystring | Buffer<ArrayBufferLike>New passphrase to apply.packages/store-sqlite-encrypted/src/rekey.ts:37
oldPassphrasereadonlystring | Buffer<ArrayBufferLike>Existing passphrase the DB is currently encrypted with.packages/store-sqlite-encrypted/src/rekey.ts:35
pathreadonlystringPath to the encrypted DB.packages/store-sqlite-encrypted/src/rekey.ts:33