CodeQL library for Python
codeql/python-all 0.11.13 (changelog, source)
Search

Class EncryptionAlgorithm

An encryption algorithm such as DES or AES512.

Import path

import semmle.python.concepts.CryptoAlgorithms

Direct supertypes

Indirect supertypes

Fields

Predicates

getName

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

isStreamCipher

Holds if this algorithm is a stream cipher.

isWeak

Holds if this algorithm is weak.

Inherited predicates

matchesName

Holds if the name of this algorithm is the most specific match for name. This predicate matches quite liberally to account for different ways of formatting algorithm names, e.g. using dashes, underscores, or spaces as separators, including or not including block modes of operation, etc.

from CryptographicAlgorithm
toString

Gets a textual representation of this element.

from CryptographicAlgorithm

Charpred