Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Decryption of AES 128 bit ECB mode in pkcs7 padding with password  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a response from a API. That content is encrypted in AES - 128bit - ECB - PKCS7 padding with Password. How to decrypt this ? 
 
Saloon Keeper
Posts: 8980
168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can decrypt it using the Cipher class. However, you first need to derive a key from the password. You didn't tell us what key derivation function the encryption algorithm used.
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!