mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Python: Move query tests to reflect new file layout
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms
|
||||
from secrets_store import get_password
|
||||
|
||||
def get_badly_encrypted_password():
|
||||
dangerous = get_password()
|
||||
cipher = Cipher(algorithms.ARC4(key), _, _)
|
||||
encryptor = cipher.encryptor()
|
||||
return encryptor.update(dangerous) + encryptor.finalize()
|
||||
|
||||
Reference in New Issue
Block a user