javascript / java encryption URL parameter string

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I need to encrypt/decrypt my url parameter string values in Javascript(client) and JSP (java server side) Check Stanford Javascript Crypto Library to encrypt values before passing ex.

In Javascript - SJCL code

sjcl.encrypt("password", "data")

in JSP

/ wrap key data in Key/IV specs to pass to cipher
SecretKeySpec key = new SecretKeySpec(keyBytes, "DES");
IvParameterSpec ivSpec = new IvParameterSpec(ivBytes);
Cipher cipher = Cipher.getInstance("DES/CBC/PKCS5Padding");

Encryption would go like this
cipher.init(Cipher.ENCRYPT_MODE, key, ivSpec);
byte[] encrypted= new byte[cipher.getOutputSize(input.length)];
int enc_len = cipher.update(input, 0, input.length, encrypted, 0);
enc_len += cipher.doFinal(encypted, enc_len);
... and decryption like this

cipher.init(Cipher.DECRYPT_MODE, key, ivSpec);
byte[] decrypted = new byte[cipher.getOutputSize(enc_len)];
int dec_len = cipher.update(encrypted, 0, enc_len, decrypted, 0);
dec_len += cipher.doFinal(decrypted, dec_len);

The above snippets are just examples from Google . I want a working encryption code that matches Javascript and Java algorithm

Skills required:
Java, Javascript
Hire vw176317vw
Project posted by:
vw176317vw Kuwait
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 250
in 3 days
$ 128
in 3 days
$ 206
in 3 days
$ 164
in 3 days
$ 210
in 3 days
$ 147
in 1 days
Hire Magjoom
$ 155
in 3 days
$ 250
in 7 days
$ 60
in 4 days
$ 155
in 3 days