Type Aliases
CipherText
CipherText: Buffer
IndexerCollectionSchema
IndexerCollectionSchema: { indexes: {}; type: {} }
Type declaration
indexes: {}
[key: string]: { index_id: Buffer | Uint8Array; kind: string; prf_key: Buffer | Uint8Array; prp_key: Buffer | Uint8Array }
[key: string]: unknown
index_id: Buffer | Uint8Array
kind: string
prf_key: Buffer | Uint8Array
prp_key: Buffer | Uint8Array
type: {}
ORECipher
ORECipher: { encrypt: any; encryptLeft: any }
Type declaration
encrypt:function
- encrypt(input: Buffer): Buffer
encryptLeft:function
- encryptLeft(input: Buffer): Buffer
Ordering
Ordering: -1 | 0 | 1
OrePlainText
OrePlainText: Buffer
TermVector
TermVector: { indexId: Buffer; terms: { link: Buffer; term: Buffer[] }[] }[]
The collection schema used to initialize a RecordIndexer.
This is base on the CipherStash schema definition and includes metadata required for encryption.