Kayaga Andrew

Kayaga Andrew

  • NA
  • 9
  • 641

CryptoJS Encryption and Decryption in UWP C#

Apr 18 2020 3:18 AM
I have a video URL link which is encrypted using CryptoJS on a server and my job in my Universal Windows App in c# is to decrypt the sent content and get the original video URL link.
 
I have tried to use AES Decryption but still getting errors. Below is the array that is generated when the URL is encrypted on the server
 
Passphrase: e615242cd9498f2a38995d516bb5f8c819be91a4
 
Encrypted String: {"ct":"yA8RGCPPvX4f9QhIJ0ga2oOutxnUEcddh5iBQalPoAlNZgutVTefOdvwO54D7Bwl2eTr+i/u9/cDL6sVcvZ9+hXfr1eZ/sYjjKX0qSr+yPjA+CrQWeApBPVtS45JPCY8ekB2pZah8uqqtPpfeV5T8xHzrkJJbS0d+VqFhj1aqao/qWKdCaD6BK75QfnkBz0XzQd/ulK7saoLGO2t7LHhlg==","iv":"0fa9a8205ccb9894e416e8ba85bc4960","s":"60f24ca1a8380cac"}