Blockchain uses cryptographic techniques to secure data. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. This ensures that once data is recorded, it cannot be altered retroactively. For patient data, this means that only authorized individuals can access or modify the records, ensuring high levels of data privacy and security.