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" * 8, 2, b"5678" * 4)
13enc = crypto.encrypt(bytes(range(32)))
14print(enc)
15crypto = aes(b"1234" * 8, 2, b"5678" * 4)
16print(crypto.decrypt(enc))
17