Hisaab Docs Support Download

Docs / Users, backups and safety

Lock a company with a passphrase

Encrypt a company's files with a passphrase so that a copied or stolen folder cannot be read.

How-toHisaab 0.6Updated 19 November 2026

You can encrypt a company on disk with a passphrase. After that, Hisaab asks for the passphrase every time the company is opened, and a copy of the folder is unreadable without it. On screen it is called a passphrase. It is separate from the passwords of individual users.

Careful: A forgotten passphrase cannot be recovered. There is no reset, no back door and no one who can open the books for you. Write the passphrase down and keep it somewhere safe before you click Encrypt.

Set the passphrase#

Only an Admin can do this, and the company must be a saved company.

  1. Press F3, or click Company in the sidebar.
  2. In the left card, find Encryption.
  3. Type the passphrase in new passphrase (8+ characters).
  4. Type it again in type it again.
  5. Click Encrypt.

The status bar confirms that the books are now encrypted, and the card shows "these books are encrypted on disk". If the two entries differ, or the passphrase is shorter than 8 characters, nothing is changed and the status bar says why.

Hisaab takes a backup first, rewrites the books under the new key, checks that the rewritten books open, and only then replaces the old files. Existing backups are converted too, so that no readable copy is left in the folder.

Open a locked company#

  1. Press F3 and click the company. A mark says the company is encrypted.
  2. Type the passphrase in the passphrase box and press Enter, or click Unlock.

A wrong passphrase is refused and you can try again. If the company also has users, you sign in after unlocking. The passphrase protects the files; the user password decides what each person may do.

Change the passphrase#

Only an Admin can do this.

  1. Open the company and press F3.
  2. Under Encryption, type the passphrase in use in current passphrase.
  3. Type the new one in new passphrase (8+ characters) and again in type the new one again.
  4. Click Change passphrase.

The status bar says "Passphrase changed". If the current passphrase is wrong, the new one is too short, or the two entries differ, nothing is changed and the status bar says why. The three boxes are cleared after every attempt.

The change is made the same way as setting a passphrase: a backup first, the books rewritten under the new key, the rewritten books checked, and only then the old files replaced. If the computer stops midway, the company opens with either the old or the new passphrase, never neither. Backups in the folder are converted to the new passphrase. If one could not be converted, the status bar names it; that backup still needs the old passphrase.

Remove the passphrase#

  1. Open the company and press F3.
  2. Under Encryption, click Remove encryption.
  3. Confirm with Enter or Yes, do it. The books are stored as plain files again.

What is encrypted#

Encrypted Not encrypted
Every entry in the books: masters, vouchers, users, settings The company name, so that the list of companies can show it
The checkpoint file that speeds up opening The number of entries and the dates the files were changed
Backups inside the company folder Files you export, such as CSV, JSON and printed reports

The passphrase itself is never written to disk.

What it does and does not protect against#

  • It protects a folder that is copied, lost or stolen while Hisaab is closed.
  • It does not replace disk encryption on a computer that someone else can use or watch while you work.
  • It does not stop a person who can write to the folder from deleting files or the latest entries.

The encryption uses standard methods (ChaCha20-Poly1305, with a key derived from the passphrase by PBKDF2), but the code is the project's own and has not had an independent security audit.

If people share the company folder#

When an Admin sets, changes or removes the passphrase, other computers that have the company open become read-only. They must close the company and open it again with the new passphrase. Tell everyone before you change it.

Limits#

  • No recovery of a forgotten passphrase.
  • One passphrase for the whole company. It is shared by everyone who opens it.
  • A cloud backup of a locked company stays locked with the same passphrase after it is restored.

Next#

Something here wrong or missing? Open a ticket and mention this page.

Hisaab is developed and supported by Aware Consultants  ·  About  ·  Support  ·  Privacy