fixed double send issue, by changing counterFromNumber function to match the IV calculated by droid for CTR mode encryption
fixed for reals this time the issues of the double send