CodeQL library for JavaScript
Search

Class CryptographicAlgorithm

A cryptographic algorithm.

Import path

import javascript

Direct supertypes

Known direct subtypes

    Predicates

    getName

    Gets the normalized name of this algorithm (upper-case, no spaces, dashes or underscores).

    isWeak

    Holds if this algorithm is weak.

    matchesName

    Holds if the name of this algorithm matches name modulo case, white space, dashes, underscores, and anything after a dash in the name (to ignore modes of operation, such as CBC or ECB).

    toString

    Gets a textual representation of this element.