Example of verifying key integrity