Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/store-sqlite / encryption / EncryptionCipher
Type Alias: EncryptionCipher
ts
type EncryptionCipher = "sqlcipher" | "chacha20" | "aes256cbc" | "aes128cbc" | "rc4";Defined in: packages/store-sqlite/src/encryption/index.ts:27
Cipher selection, validated against the real sqlite3mc vocabulary (CS-13 - 'wxsqlite3' is the library's name, not a cipher; the peer rejects it with "Cipher 'wxsqlite3' unknown"). 'sqlcipher' is the Graphorin default (SQLCipher v4 compatible); 'chacha20' is the peer's own default cipher.