简体   繁体   English

通过SSL交换信息时需要加密数据吗?

[英]Do I need to encrypt data when exchanging information via SSL?

I'm creating a service where I have the data encrypted in my database, but need to send it to an application (via API requests). 我正在创建一个服务,该服务在数据库中加密了数据,但是需要将其发送到应用程序(通过API请求)。 My question is: do I need to send the data encrypted throughout the connection (using OpenSSL private and public keys) or does SSL do all that stuff? 我的问题是:我需要发送整个连接过程中加密的数据(使用OpenSSL私钥和公钥),还是SSL可以完成所有这些工作? So can I keep the data safe when interacting with applications and sending the data as it is (non-encrypted)? 那么,在与应用程序进行交互并按原样发送数据(未加密)时,我可以确保数据安全吗?

Can someone provide more information about it? 有人可以提供更多信息吗?

Thanks. 谢谢。

SSL encrypts all the payload so you do not need to encrypt your data within SSL. SSL会加密所有有效负载,因此您无需在SSL内加密数据。 It will be decrypted at the other end of the network. 它将在网络的另一端解密。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM