Skip to content
Security

How Kavach protects every file.

The algorithms, where the keys live, who can open what, and how you can check the audit log yourself. No "military-grade", just the facts.

Contents
AES-256-GCM
Key wrap
ML-KEM-768 + X25519
Audit hash
SHA3-256 chain
Checkpoints
ML-DSA-65
Encryption at rest

The plain file never touches the disk.

From the moment HR uploads a document to the moment someone opens it.

1 · UploadIn memory

The upload is held in memory. OCR reads the text from that copy.

2 · EncryptAES-256-GCM

A fresh 256-bit key and nonce per file; GCM also detects any change.

3 · WrapML-KEM-768 + X25519

The file key is sealed under the master key; only the sealed form is stored.

4 · StoreCiphertext + hash

The encrypted bytes and their SHA3-256 hash are saved. Admins can inspect the stored file.

Access control

Who can open what.

The server checks the signed-in role on every request. Search results and counts never reveal files you can't open.

WhatEmployeeHRAdmin
Open their own documentsYesYesYes
Open documents of their departmentNoYesYes
Open documents of every departmentNoNoYes
Upload and correct document typesNoYesYes
See who opened their own filesYesYesYes
Read the full audit log, verify and sealNoNoYes
Delete a documentNoRequest onlyApprove a request from someone else
Audit log

Check the log yourself.

Every upload, view, download, search, type change and deletion request is an entry. Each entry stores the SHA3-256 hash of the one before, so any edit breaks the chain. Admins can verify the whole chain in one click and seal a checkpoint signed with ML-DSA-65.

Audit chain · Operations (sample)#41 view hr.ops offer_EMP0142.scan.pdf prev 3a9e… hash 7c21…#40 search hr.ops q="relocation bonus" prev d04b… hash 3a9e…#39 upload hr.ops offer_EMP0142.scan.pdf prev 91fe… hash d04b…
What we don't claim

Plain limits, stated up front.

Security pages that promise everything are hard to trust. Here is what Kavach does not do.

AES itself isn't "post-quantum"

It doesn't need to be: AES-256 is already considered quantum-safe. The post-quantum parts are the key wrap and the checkpoint signatures.

Admins are trusted

An admin can open every department. That is why every admin view is logged and deletions need a second person.

A watermark deters, it doesn't prevent

A downloaded copy carries the downloader's name and time. It discourages leaks and traces them; it can't stop a photo of a screen.

Put your HR documents behind armour.

Sign in to the dashboard, or read exactly how your files are protected.