Can we write AES enryption in Javascript and Decryption in Java using a static SALT and IV

0 votes
I'm working on AES encryption

I want to encrypt a string in JavaScript and using that ciphertext which is generated during encryption I want to decrypt it in JAVA. I want to use static SALT and IV on both side i.e. common SALT and IV.

I encrypted the string in javaScript and decrypted in JAVA but using random SALT and IV and not static and by using API calls for sending the encrypted text and salt and IV to the java program

What actually I want is to avoid the use of API calls and do it using static IV and Salt
Jun 3 in Others by Eighteen
• 120 points
13 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Others

0 votes
1 answer

Using/Handling colon inside a JSF generated HTML element ID in CSS selector

Yes, you can.  Just Backslash (\) the colon.  Like ...READ MORE

answered Nov 14, 2018 in Others by DataKing99
• 8,100 points
171 views
0 votes
1 answer

How can you create an object in JavaScript?

JavaScript supports Object concept very well. You can create ...READ MORE

answered Mar 6 in Others by Frankie
• 9,710 points
20 views
0 votes
1 answer

How can you create an Array in JavaScript?

You can define arrays using the array literal as ...READ MORE

answered Mar 6 in Others by Frankie
• 9,710 points
7 views
0 votes
1 answer

What is a name function in JavaScript & how to define it?

A named function declares a name as ...READ MORE

answered Mar 6 in Others by Frankie
• 9,710 points
22 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Give an example for encryption and decryption in AES using Java

getfullstring: Splashscreen.text >>> READ MORE

answered May 8 in Java by anonymous
1,281 views
0 votes
1 answer

3DES encryption/decryption in Java

Hey, its just that Base 64 encoding ...READ MORE

answered Nov 8, 2018 in Java by nirvana
• 3,060 points
1,149 views
0 votes
1 answer

How to encrypt and decrypt files using UiPath?

Hey Ashmita, if you want to encrypt ...READ MORE

answered Mar 11 in RPA by Abha
• 9,330 points
139 views
0 votes
1 answer

Generating an MD5 hash?

The MessageDigest class can provide you with an instance ...READ MORE

answered Jun 13, 2018 in Java by Rishabh
• 3,520 points
22 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.