add java encrypt example