def get_otp(self, key):
from Crypto.Cipher import AES<EOL>packed = self.pack()<EOL>obj = AES.new(key, AES.MODE_ECB)<EOL>ciphertext = obj.encrypt(packed)<EOL>return ciphertext<EOL>
Return an modhex encoded OTP given our current state.