While I was going through a piece of code in JAVA for encryption there is padding mechanism we can provide while creating cipher instance.
final Cipher cipher = Cipher.getInstance("AES/CBC/ISO10126Padding");
Here we can specify the padding to be used.
How can i achieve the same in Node.js?
Use Case: I am decrypting the data which i have encrypted via JAVA using this method.
Note: In Java i can encrypt & decrypt by creating the cipher instance the above provided way and getting success response. Let me know if any other info required.