- 授权协议: Apache
- 开发语言: C/C++
- 操作系统: 未知
- 软件首页: https://github.com/awslabs/s2n
- 软件文档: https://github.com/awslabs/s2n/blob/master/docs/USAGE-GUIDE.md
软件介绍
s2n 是来自亚马逊的一个 TLS/SSL 协议的实现,实现的目标是简单、快速安全。
示例代码:
/* Create a server mode connection handle */
struct s2n_connection *conn = s2n_connection_new(S2N_SERVER);
if (conn == NULL) {
... error ...
}
/* Associate a connection with a file descriptor */
if (s2n_connection_set_fd(conn, fd) < 0) {
... error ...
}
/* Negotiate the TLS handshake */
int more;
if (s2n_negotiate(conn, &more) < 0) {
... error ...
}
/* Write data to the connection */
int bytes_written;
bytes_written = s2n_send(conn, "Hello World", sizeof("Hello World"), &more);
Alone Together
Sherry Turkle / Basic Books / 2011-1-11 / USD 28.95
Consider Facebookit’s human contact, only easier to engage with and easier to avoid. Developing technology promises closeness. Sometimes it delivers, but much of our modern life leaves us less connect......一起来看看 《Alone Together》 这本书的介绍吧!
