def determineNextByte(rawPrefix, observedCipher):
    blockSize = determineBlockSize()
    plain = (padStr) * (blockSize - 1 - len(rawPrefix));
    plain += rawPrefix;
    for i in range(256):
        thisPlain = plain + bytes(chr(i), 'UTF-8');
        thisCipher = append_and_encrypt(thisPlain);
        if (chunks(thisCipher, blockSize)[0] == observedCipher):
            return bytes(chr(i), 'UTF-8');
    return b'***ERROR***';
We shouldn't have to override this, but Django's BaseOperations.last_executed_query
dataset/ETHPy150Open reschly/cryptopals/prob12.py/determineNextByte--crossover with--dataset/ETHPy150Open potatolondon/djangae/djangae/db/backends/appengine/base.py/DatabaseOperations.last_executed_query