1try: 2 from Crypto.Cipher import AES 3 4 aes = AES.new 5except ImportError: 6 try: 7 from ucryptolib import aes 8 except ImportError: 9 print("SKIP") 10 raise SystemExit 11 12crypto = aes(b"1234" * 4, 1) 13enc = crypto.encrypt(bytes(range(32))) 14print(enc) 15crypto = aes(b"1234" * 4, 1) 16print(crypto.decrypt(enc)) 17