且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何加密&使用AES算法解密URL。

更新时间:2023-02-17 16:57:57

由于您要将加密值发送到您无法控制的服务器,您将不得不问他们什么关键使用。您将需要使用相同的密钥来加密它们将用于解密值的值,因此您需要就共享密钥达成一致。你不会想做随机密钥。
Since you are sending encrypted values to a server that you do not control you will have to ask them what key to use. You will need to use the same key to encrypt the values that they will use to decrypt the values so you will need to agree on a shared key. You won't want to do random keys.