liveBook · Manning

Encryption

As explained in Server-Side WebAssembly

Encryption is the process of transforming readable plaintext into ciphertext using a key so that unauthorized parties cannot read it.

Encryption protects sensitive data by transforming it with a key. Here, encryption and decryption run inside a libSQL database as sandboxed WebAssembly UDFs, avoiding unnecessary transfer of plaintext to other systems. section 5.3.1

The implementation must respect WebAssembly isolation and libSQL type compatibility: it cannot access network, filesystem, or system time, and uses supported primitive, string, or byte types. section 5.3.1

How Server-Side WebAssembly covers it

How deep it goes
Explains project setup, dependencies, bindings, exported functions, and runtime constraints, but does not develop cryptographic theory.
Examples
Uses encrypt and decrypt UDFs with string data, a key, Base64 output, and an access-denied fallback.
What you can do after
Build it from scratch as a Rust cdylib exposing libSQL-compatible encrypt and decrypt functions.
How it connects
Connects encryption with Rust, WebAssembly UDFs, libSQL, sandboxing, and database privacy.

Also explained in

Compare how 16 books explain encryption →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Server-Side WebAssembly. The section links point to the parts of the book it draws on.