Commit Graph

4 Commits

Author SHA1 Message Date
Grey Lee 15d89e91e8 Fix Objective-C implementation, it has different result comparing to others.
Division operator and modulo operator have the same priority. So the result of "i % sizeof(key)/sizeof(unichar)" is the same as "(i % sizeof(key)) / sizeof(unichar)". But expected result should be "i % (sizeof(key)/sizeof(unichar))".
2017-03-23 11:58:48 +08:00
dautermann c01da94345 algorithm is now able to process unichar (two byte) characters such as Chinese or Cyrillic 2015-09-03 03:54:30 -04:00
KyleBanks 117bd7d8ad Added char key commet to ObjectiveC implementation 2013-10-06 16:13:51 -04:00
KyleBanks aa702ca4c7 Added Objective-C implementationg 2013-10-06 15:41:44 -04:00