Files
codeql/python/ql/test/query-tests/Security/CWE-327/test_pycrypto.py
2018-11-19 15:15:54 +00:00

8 lines
165 B
Python

from Crypto.Cipher import ARC4
def get_badly_encrypted_password():
dangerous = get_password()
cipher = ARC4.new(_, _)
return cipher.encrypt(dangerous)