This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#-*- encoding: Utf-8 -*- | |
from xml.etree.ElementTree import fromstring | |
from getpass import getpass | |
from hashlib import sha256 | |
from sys import argv | |
import hmac | |
try: | |
from Crypto.Cipher import AES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#-*- encoding: Utf-8 -*- | |
from hashlib import md5 | |
from sys import argv | |
try: | |
from Crypto.Cipher import AES | |
except ImportError: | |
exit('Erreur : la bibliothèque "PyCryto" n\'est pas installée') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#-*- encoding: Utf-8 -*- | |
from hashlib import md5 | |
from re import match | |
from sys import argv | |
try: | |
from Crypto.Cipher import AES | |
except ImportError: | |
exit('Erreur : la bibliothèque "PyCryto" n\'est pas installée') |