I have to implement AES Encryption/Decryption having following scenerio.
There are 2 applications App1 and App2 running on different servers. App1 will encrypt(using AES Encryption) some data and give it to App2. App2 will decrypt the same data using AES decryption. The secret key needs to be shared with App2 for decryption.So, how to share the secret key with App2 ? Can we use java keystore in this case ?