What can I find here?

This website demonstrates basic usage of the Web Cryptography API developed by w3c.

You can find all the code at https://github.com/nvdbleek/web-crypto-samples. All the code is provided under the MIT license.

The hash sample

The hash sample demonstrates the usage of the digest() function using the SHA-256 hashing function.

The sign & verify sample

The sign & verify sample demonstrates the usage of the sign(), verify(), exportKey() and importKey() functions using RSASSA-PKCS1-v1_5.

The encrypt & decrypt sample

The encrypt & decrypt sample demonstrates the usage of the encrypt(), decrypt(), exportKey() and importKey() functions using RSAES-PKCS1-v1_5.