The use of cryptography in digital voting systems provides end-to-end verifiability, allowing voters to independently verify that their votes have been correctly recorded and counted. This transparency enhances the trustworthiness of the election process and helps detect any potential tampering or manipulation.