What to pass in cipher.doFinal in Android/Java?

后端 未结 2 807
遥遥无期
遥遥无期 2021-01-26 17:53

Android code

String apiResponse = \"EcUZvMif

Method:

protected void decryptDataWithAES(String apiResponse,         


        
2条回答
  •  [愿得一人]
    2021-01-26 18:28

    You are trying to decrypt the "key", I think you need to decrypt the apiResponse

    Also you need the exact same IV the message was encrypted with, otherwise you won't be able to decrypt

提交回复
热议问题