Nyaya Tools Free tools for lawyers that run in your browser. Nothing you open here is uploaded.
/
← All tools

Chapter II: Criminal law, evidence and privacy

Hash value of a file (SHA-256)

Gives a file’s SHA-256 hash, its true type and size, so you can show later that it has not changed. The hash is what the certificate under section 63 of the Bharatiya Sakshya Adhiniyam asks for.

Hash values and electronic evidence

Section 63 of the Bharatiya Sakshya Adhiniyam, 2023, which replaced section 65B of the Indian Evidence Act, requires a certificate to accompany an electronic record, and the certificate in its Schedule asks for the record’s hash value. A SHA-256 hash is a 64-character fingerprint of a file. Change one byte and the hash changes completely, so matching hashes show that the copy produced is the copy that was collected.

This page computes the hash on your own device, so a client’s file never leaves it. It also reads the first bytes of the file to tell you what the file really is, which catches a document saved under the wrong extension.

Related tools