Originally Posted by
cooper01
Hi All
Currently I am developing a utility in Java, which needs to read a file, which is used in a PHP 4 application. This file is encrypted using a simple ASCII math and key encryption.
The Java application needs to read the file and return the same answer as the original PHP application, but on some characters it returns a different value. The PHP Application uses ord function, to convert a character into ASCII
Does anyone know how I could get the Java code, to return the same ASCII code?
Thanks