Most of those hacks for Android and iOS rely on the fact that both platforms store their resources in well defined ways which we don't. Naturally as Codename One becomes more prevalent it would be hackable in a similar way but to a lesser extent since the code we generate is by definition more complex.
It varies on a case by case basis for specific features. E.g. the Windows Phone port that we discussed back then before recent developments from MS:
http://www.codenameone.com/blog/login-tutorials-future-of-windows-phone.htmlWould mean something between 1 and 2 man years of effort to complete, with such prohibitive costs we need more of a commitment than a single user subscribing month by month. For the JavaScript port we quantified this as two annual enterprise subscriptions which is something we surpassed, I'm not sure if it covered the expenses that incurred though.
String/data encryption is relatively simple though, I believe it shouldn't take more than 2 months work to boost our security level significantly so if one enterprise customer asks for it then we will do it. However, we will probably limit the feature to builds from enterprise customers.