1. 9

  2. 1

    if i remember right, javascript uses only 64 bit floats? so they’re doing integer maths by using the integer values in there and treating them as 32 bits manually (since there’s only 52 bits or so of mantissa)? which would explain the problem in CTR mode (not carrying from one 32bit “long” to another).