You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@cipherstash/recipher has no records — declare a record once and encrypt and decrypt whole rows and single fields #1813
@cipherstash/recipher is the TypeScript SDK on the Stack Encrypt engine (the Rust crate stack-encrypt, which encrypts and decrypts values). It is a Node addon written in Rust with napi-rs, at languages/typescript/packages/recipher-js, with a thin TypeScript layer over it. The design is in docs/plans/2026-11-22-recipher-typescript-sdk.md.
Problem
Encrypting one value at a time does not fit how applications store data: in rows of a table, some fields encrypted and searchable, some not.
Proposal
Declare a record once: each field encrypted, encrypted with search indexes, or passed through in the clear.
Encrypt and decrypt whole rows, or one field at a time, through the engine's dynamic::Planned, so the stored bytes are the engine's and many rows make one key request.
A refusal names the record and the field.
A decrypted row hides its values when it is logged.
Activity
feat(recipher-js): records through the engine's Planned
feat(recipher-js): records through the engine's Planned
feat(recipher-js): records through the engine's Planned