You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in encrypt method we need to encrypt all blocks, so:
public function encrypt(block:ByteArray, index:Int32 = 0):Void {
var count:Int = block.length >>> 3;
var i:Int = 0;
for (i in 0...count)
encryptBlock(block, 8 * i, block, 8 * i);
}