The sample code generates a new secret key and uses it to encrypt and decrypt data.
这个样本代码将生成一个新的秘钥,并使用它对数据进行加密和解密。
The secret key is used to encrypt portions of the request so Amazon can ensure that code that you wrote that is sending them requests.
密钥用来加密请求的某些部分,以使 Amazon 能够确保是您编写的代码在向他们发送请求。
With the event description text isolated from the event data and time, the next step is to write the event text to disk, and then encrypt it. Add the code shown below in Listing 5 at line 77.
将事件描述文本从事件日期和时间分离出来后,接下来应该将事件文本写到磁盘,然后对它进行加密。
应用推荐