getNextByte3 = (bs) => {
const prepad = 15 - (bs.length % 16);
const prefix = fillLen(prepad).concatRaw(bs);
const blockNum = Math.floor(bs.length / 16);
const encrypted = aes.encryptAes128Ecb(prependBs(fillLen(prepad)), key);
const blocks = lib.chunkArr(encrypted.bytes, 16);
const b = lib.toHex(blocks[blockNum])
let holder = lib.ByteArray.fromBytes(bs.slice(Math.max(bs.length - 15, 0), bs.length));
if (holder.bytes.length < 15) {
holder = fillLen(15 - holder.bytes.length).concat(holder)
}
return findMatch(holder, b);
}