Use the Web Cryptography API to sign files, and verify the signatures.