encrypt in javascript and decrypt in java

hi guys,iam in a strange situation, my requirement is to encrypt the user entered details thr javascript and decrypt in those in java.i need some ideasthanku
[185 byte] By [stalin_111521a] at [2007-11-27 9:43:35]
# 1
Why don't you just use SSL? Then the entire communication is encrypted.
masijade.a at 2007-7-12 23:49:09 > top of Java-index,Java Essentials,Java Programming...