通常的经验是,在Android设备中,浮点数会比整型慢两倍,在缺少FPU和JIT的G1上对比有FPU和JIT的Nexus One中确实如此(两种设备间算术运算的绝对速度差大约是10倍)
This is true on a FPU-less, JIT-less G1 and a Nexus One with an FPU and the JIT. (Of course, absolute speed difference between those two devices is about 10x for arithmetic operations.)
给出了一种加密速度快,安全性高,加密算法和解密算法相同,且不需进行算术逻辑运算等特点的对称加密算法。
A quick and safe encryption arithmetic of symmetry is proposed, which has the same arithmetic in encryption and decryption without arithmetic logical operation.
应用推荐