Have you discussed this with Duncan (JNCryptor maintainer)? You can pass different options to RNCryptor to change the number of iterations. Don't modify the constants in the header. I still don't understand the change marked here and how it could compile as given.