Web Cryptography API Supported Algorithms

by Anish

Posted on Thursday september 20, 2018


This sample chapter extracted from the book, Cryptography for JavaScript Developers.


Here is a table listing all algorithms that WebKit currently supports, and corresponding permitted operations of each algorithm

crypto api supported algorithms and Methods click on each link for more details.
Algorithm name encrypt decrypt sign verify digest generateKey deriveKey deriveBits importKey exportKey wrapKey unwrapKey
RSASSA-PKCS1-v1_5 Y Y Y Y Y
RSA-PSS Y Y Y Y Y
RSA-OAEP Y Y Y Y Y Y Y
ECDSA Y Y Y Y Y
ECDH Y Y Y Y Y
AES-CTR Y Y Y Y Y Y Y
AES-CBC Y Y Y Y Y Y Y
AES-GCM Y Y Y Y Y Y Y
AES-KW Y Y Y Y Y
HMAC Y Y Y Y Y
SHA-1 Y
SHA-256 Y
SHA-384 Y
SHA-512 Y
HKDF Y Y Y
PBKDF2 Y Y Y
  • RSASSA-PKCS1-v1_5: old signature scheme with appendix as first standardized in version 1.5 of PKCS #1.
  • RSA-PSS: is an adaptation of their work and is standardized as part of PKCS#1 v2.1. In general, RSA-PSS should be used as a replacement for RSA-PKCS#1 v1.5
  • RSA-OAEP: Optimal Asymmetric Encryption Padding (OAEP) is a padding scheme often used together with RSA encryption
  • ECDSA: Elliptic Curve Digital Signature Algorithm (ECDSA) offers a variant of the Digital Signature Algorithm (DSA) which uses elliptic curve cryptography
  • ECDH: Elliptic-curve Diffie Hellman (ECDH) is an anonymous key agreement protocol that allows two parties, each having an elliptic-curve public–private key pair, to establish a shared secret over an insecure channel
  • AES-CTR: AES encryption in counter Mode
  • AES-CBC: AES encryption in Cipher Block Chaining Mode
  • AES-GCM: AES encryption Galois/Counter Mode.
  • AES-KW: AES Encryption Keywrap
  • HMAC: keyed-hash message authentication code or hash-based message authentication code.
  • SHA-1: Secure Hash Algorithm.
  • HKDF: Simple key derivation function (KDF) based on a hash-based message authentication[1] code (HMAC)
  • PBKDF2: Password-Based Key Derivation Function 2

Thanku for reading !!! Give a Share for Support


Your Support Matters!

Instead of directly asking for donations, I'm thrilled to offer you all nine of my books for just $9 on leanpub By grabbing this bundle you not only help cover my coffee, beer, and Amazon bills but also play a crucial role in advancing and refining this project. Your contribution is indispensable, and I'm genuinely grateful for your involvement in this journey!

Any private key value that you enter or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that private keys cannot be stolen, for extra security run this software on your network, no cloud dependency




python Cryptography Topics
Topics
For Coffee/ Beer/ Amazon Bill and further development of the project Support by Purchasing, The Modern Cryptography CookBook for Just $9 Coupon Price

Kubernetes for DevOps

Hello Dockerfile

Cryptography for Python Developers

Cryptography for JavaScript Developers

Go lang ryptography for Developers

Here