Crypto Lib
    Preparing search index...

    Variable SUPPORTED_ALGORITHMSConst

    SUPPORTED_ALGORITHMS: {
        encryption: readonly [
            "xchacha20-poly1305",
            "aes-128-gcm",
            "aes-256-gcm",
            "aes-128-gcm-siv",
            "aes-256-gcm-siv",
        ];
        hashing: readonly [
            "sha256",
            "sha384",
            "sha512",
            "sha3-256",
            "sha3-512",
            "blake2b",
            "blake3",
        ];
        kdf: readonly [
            "scrypt",
            "hkdf-sha256",
            "pbkdf2-sha256",
            "argon2id",
            "argon2i",
            "argon2d",
        ];
        mac: readonly [
            "hmac-sha256",
            "hmac-sha384",
            "hmac-sha512",
            "hmac-sha3-256",
            "hmac-sha3-512",
            "kmac-128",
            "kmac-256",
        ];
        signing: readonly [
            "ed25519",
            "ed448",
            "ecdsa-p256",
            "ecdsa-p384",
            "schnorr",
            "ml-dsa-44",
            "ml-dsa-65",
            "ml-dsa-87",
            "slh-dsa-sha2-128f",
            "slh-dsa-sha2-128s",
            "slh-dsa-sha2-192f",
            "slh-dsa-sha2-192s",
            "slh-dsa-sha2-256f",
            "slh-dsa-sha2-256s",
            "slh-dsa-shake-128f",
            "slh-dsa-shake-128s",
            "slh-dsa-shake-192f",
            "slh-dsa-shake-192s",
            "slh-dsa-shake-256f",
            "slh-dsa-shake-256s",
            "ed25519-ml-dsa-44",
            "ed25519-ml-dsa-65",
            "ed25519-ml-dsa-87",
            "fn-dsa-512",
            "fn-dsa-1024",
        ];
        keyExchange: readonly [
            "x25519",
            "x448",
            "ecdh-p256",
            "ecdh-p384",
            "x25519-ml-kem-512",
            "x25519-ml-kem-768",
            "x25519-ml-kem-1024",
            "p256-ml-kem-768",
            "x448-ml-kem-1024",
            "hpke-x25519-chacha20",
            "hpke-x25519-aes128gcm",
            "hpke-p256-aes128gcm",
        ];
        postQuantum: readonly [
            "ml-kem-512",
            "ml-kem-768",
            "ml-kem-1024",
            "ml-dsa-44",
            "ml-dsa-65",
            "ml-dsa-87",
            "slh-dsa-sha2-128f",
            "slh-dsa-sha2-128s",
            "slh-dsa-sha2-192f",
            "slh-dsa-sha2-192s",
            "slh-dsa-sha2-256f",
            "slh-dsa-sha2-256s",
            "slh-dsa-shake-128f",
            "slh-dsa-shake-128s",
            "slh-dsa-shake-192f",
            "slh-dsa-shake-192s",
            "slh-dsa-shake-256f",
            "slh-dsa-shake-256s",
            "fn-dsa-512",
            "fn-dsa-1024",
        ];
    } = ...

    List of all supported modern algorithms for the /v2/algorithms endpoint.

    Type Declaration

    • Readonlyencryption: readonly [
          "xchacha20-poly1305",
          "aes-128-gcm",
          "aes-256-gcm",
          "aes-128-gcm-siv",
          "aes-256-gcm-siv",
      ]

      Supported symmetric encryption algorithms.

    • Readonlyhashing: readonly [
          "sha256",
          "sha384",
          "sha512",
          "sha3-256",
          "sha3-512",
          "blake2b",
          "blake3",
      ]

      Supported hash algorithms.

    • Readonlykdf: readonly [
          "scrypt",
          "hkdf-sha256",
          "pbkdf2-sha256",
          "argon2id",
          "argon2i",
          "argon2d",
      ]

      Supported key derivation functions.

    • Readonlymac: readonly [
          "hmac-sha256",
          "hmac-sha384",
          "hmac-sha512",
          "hmac-sha3-256",
          "hmac-sha3-512",
          "kmac-128",
          "kmac-256",
      ]

      Supported message authentication code algorithms.

    • Readonlysigning: readonly [
          "ed25519",
          "ed448",
          "ecdsa-p256",
          "ecdsa-p384",
          "schnorr",
          "ml-dsa-44",
          "ml-dsa-65",
          "ml-dsa-87",
          "slh-dsa-sha2-128f",
          "slh-dsa-sha2-128s",
          "slh-dsa-sha2-192f",
          "slh-dsa-sha2-192s",
          "slh-dsa-sha2-256f",
          "slh-dsa-sha2-256s",
          "slh-dsa-shake-128f",
          "slh-dsa-shake-128s",
          "slh-dsa-shake-192f",
          "slh-dsa-shake-192s",
          "slh-dsa-shake-256f",
          "slh-dsa-shake-256s",
          "ed25519-ml-dsa-44",
          "ed25519-ml-dsa-65",
          "ed25519-ml-dsa-87",
          "fn-dsa-512",
          "fn-dsa-1024",
      ]

      Supported digital signature algorithms.

    • ReadonlykeyExchange: readonly [
          "x25519",
          "x448",
          "ecdh-p256",
          "ecdh-p384",
          "x25519-ml-kem-512",
          "x25519-ml-kem-768",
          "x25519-ml-kem-1024",
          "p256-ml-kem-768",
          "x448-ml-kem-1024",
          "hpke-x25519-chacha20",
          "hpke-x25519-aes128gcm",
          "hpke-p256-aes128gcm",
      ]

      Supported key exchange algorithms.

    • ReadonlypostQuantum: readonly [
          "ml-kem-512",
          "ml-kem-768",
          "ml-kem-1024",
          "ml-dsa-44",
          "ml-dsa-65",
          "ml-dsa-87",
          "slh-dsa-sha2-128f",
          "slh-dsa-sha2-128s",
          "slh-dsa-sha2-192f",
          "slh-dsa-sha2-192s",
          "slh-dsa-sha2-256f",
          "slh-dsa-sha2-256s",
          "slh-dsa-shake-128f",
          "slh-dsa-shake-128s",
          "slh-dsa-shake-192f",
          "slh-dsa-shake-192s",
          "slh-dsa-shake-256f",
          "slh-dsa-shake-256s",
          "fn-dsa-512",
          "fn-dsa-1024",
      ]

      Supported post-quantum algorithms.