TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mundane: Rust cryptography library backed by BoringSSL

120 点作者 briansmith超过 6 年前

6 条评论

QuinnWilton超过 6 年前
The repo includes a DESIGN.md file that describes the design motivations for the library, and it&#x27;s definitely worth reading. It goes through a few really powerful techniques for writing misuse-resistant APIs, and I think some of its advice is applicable to good software engineering in general.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;mundane&#x2F;blob&#x2F;master&#x2F;DESIGN.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;mundane&#x2F;blob&#x2F;master&#x2F;DESIGN.md</a><p>In particular, their use of the type system to expose opaque types that only allow meaningful operations on them is something that I&#x27;ve seen used to great effect in other statically typed languages, like Haskell.
评论 #18399463 未加载
评论 #18397450 未加载
评论 #18396588 未加载
mrath超过 6 年前
There is also ring[1] which is somewhat based on BoringSSL. May be their priorities&#x2F;philosophies are different. It is nice to see more crypto libs being developed for Rust.<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;briansmith&#x2F;ring" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;briansmith&#x2F;ring</a>
评论 #18396476 未加载
Animats超过 6 年前
The BoringSSL build system has the following dependencies:<p>- CMake 2.8.11 or later<p>- Perl 5.6.1 or later.<p>- Either Make or Ninja.<p>- A C compiler<p>- Go 1.11 or later<p>- To build the x86 and x86_64 assembly, your assembler must support AVX2 instructions and MOVBE.<p>It&#x27;s time for a pure Rust replacement for OpenSSL. This is a shim to call a Google fork of OpenSSL.
评论 #18398359 未加载
mlindner超过 6 年前
Well this is indeed Mundane. This is just a Rust frontend to an OpenSSL fork. There&#x27;s nothing of major interest here and not sure why it&#x27;s getting attention. There are already Rust frontends to OpenSSL.
polskibus超过 6 年前
Is rust getting more popular inside Google in production use?
psergeant超过 6 年前
From the install notes, can someone tell me why BoringSSL needs Perl to build?
评论 #18397567 未加载
评论 #18398022 未加载
评论 #18402468 未加载