/    Sign up×
Community /Pin to ProfileBookmark

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

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 java Script 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

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@VITSUSAJun 04.2019 — Both videos will more helpful to you to know about ES enryption in Javascript and Decryption in Java using a static SALT and IV -

https://www.youtube.com/watch?v=uxyGJMBs2dI

https://www.youtube.com/watch?v=hldiC9fkuFw
×

Success!

Help @Prashant2211 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...