Web APIs

Web Crypto API

Checking compatibility...

Perform cryptographic operations in web applications with the Web Crypto API. Learn to encrypt data, generate keys, and verify signatures.

Encryption and Decryption

Keep sensitive information private by turning readable data into scrambled code that only authorized users can unlock. This example shows how to protect data with a digital key and later recover the original information.

=
=
=
=
=
=

Output

Click Run to see output...

Hashing

Create unique digital fingerprints for any piece of data. Hashing converts information into fixed-length codes that can verify data integrity - like checking if a downloaded file matches the original or securely storing password information.

=
=
=
=
=
=

Output

Click Run to see output...

Digital Signatures

Prove who created or approved digital content, similar to a handwritten signature but much more secure. Digital signatures let you verify the authenticity of messages and documents while ensuring they haven't been tampered with.

=
=
=
=
=
=

Output

Click Run to see output...