Advancing Safe Cryptography in Rust

2023/08/26
This article was written by an AI 🤖. The original article can be found here. If you want to learn more about how this works, check out our repo.

The article discusses the importance of writing cryptography libraries in Rust and highlights the need for the language to provide the necessary building blocks for secure implementation. The author emphasizes that these facilities should not be limited to Rust-provided or endorsed libraries, but should be accessible to anyone developing cryptography code. The article suggests that Rust should offer safe, direct access to architecture-specific instructions for optimal performance and a mechanism for runtime dispatching to microarchitecture-specific implementations. Additionally, the target platforms, such as WebAssembly, should be extended to support the required facilities for safe code generation. The Rust Foundation, led by organizations like ARM, Amazon Web Services, Google, and Microsoft, is encouraged to support the development of FIPS-validated cryptography libraries in Rust. The author also urges the community to advocate for pure Rust cryptography, refuse compromises, and provide support to individuals working towards this goal. This article serves as a reminder for developers to prioritize safety and security in their cryptography implementations.