Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/store-sqlite-encrypted / pragmaSequenceForCipher
Function: pragmaSequenceForCipher()
ts
function pragmaSequenceForCipher(cipher): readonly string[];Defined in: packages/store-sqlite-encrypted/src/cipher-config.ts:44
Returns the PRAGMA statements that select a cipher. The list is applied before PRAGMA key = ... so the cipher peer knows which KDF / mode to use when interpreting the key bytes.
Parameters
| Parameter | Type |
|---|---|
cipher | EncryptionCipher |
Returns
readonly string[]