Interface AesCtrGenerateKeyParams

The AesCtrGenerateKeyParams interface defines the algorithm-specific parameters that should be passed into the generateKey() method when using the AES-CTR algorithm.

interface AesCtrGenerateKeyParams {
    algorithm: "A128CTR" | "A192CTR" | "A256CTR";
}

Hierarchy (view full)

Properties

Properties

algorithm: "A128CTR" | "A192CTR" | "A256CTR"

Specifies the algorithm variant for key generation in AES-CTR mode. The value determines the length of the key to be generated and must be one of the following:

  • "A128CTR": Generates a 128-bit key.
  • "A192CTR": Generates a 192-bit key.
  • "A256CTR": Generates a 256-bit key.