update oneway encryption javadoc and java