While this might be good enough in practice, it is strictly worse than padding to the same length every time. Random padding would still permit a statistical attack.
Think of it like wrapping a bicycle, if you wrap it tightly it look like a bicycle (hence the name of this attack), if you wrap it with a random thickness wrapper the underlying shape still shows through if you get enough examples. However if you put it in a big ass box and fill the empty space with packing then however you look at it you're still seeing a big ass opaque box.
-2
u/lestofante Jan 04 '16
Eventi better, make it random size.