Click to see the query in the CodeQL repository
Modern encryption relies on it being computationally infeasible to break the cipher and decode a message without the key. As computational power increases, the ability to break ciphers grows and keys need to become larger.
An encryption key should be at least 2048-bit long when using RSA encryption, and 128-bit long when using symmetric encryption.