Correctly implemented One Time Pad for app