MODULE 01 · OPERATIONAL INGESTION
Getting Started & Container Integrity
TrustLayer processes media locally within the browser context to ensure chain-of-custody preservation and zero unauthorized cloud exposure.
Supported Media Formats
JPG / JPEG
PNG
WEBP
MP4
MOV
Cryptographic Fingerprinting (SHA-256)
Upon file ingestion, TrustLayer computes an asynchronous cryptographic SHA-256 digest directly from the ArrayBuffer byte stream:
// Client-side WebCrypto SHA-256 calculation
const buffer = await file.arrayBuffer();
const hashBuffer = await crypto.subtle.digest("SHA-256", buffer);
const hashSha256 = Array.from(new Uint8Array(hashBuffer))
.map(b => b.toString(16).padStart(2, "0"))
.join("");Memory Safety & Ingestion Limits
Browser heap memory imposes strict limits on synchronous binary manipulation. TrustLayer implements chunked streaming verification for files up to 50 MB (configurable in Settings up to 100 MB).
