Chain of custody for digital evidence is the written record of who held a device or file, when, where, and why, and what was done to it, from the moment of seizure until it is produced in court. The Bharatiya Nagarik Suraksha Sanhita, 2023 (BNSS), calls this the “sequence of custody” and builds it into the law in three places: audio-video recording of search and seizure (Section 105), reporting the seizure to the Magistrate (Section 106), and the police report itself, which must state the sequence of custody for electronic devices (Section 193). The Bharatiya Sakshya Adhiniyam, 2023 (BSA) then tests the result through the Section 63 certificate and its hash value.