【24h】

How Usable Are Rust Cryptography APIs?

机译:如何使用的是铁锈密码学API?

获取原文

摘要

Context: Poor usability of cryptographic APIs is a severe source of vulnerabilities. Aim: We wanted to find out what kind of cryptographic libraries are present in Rust and how usable they are. Method: We explored Rust's cryptographic libraries through a systematic search, conducted an exploratory study on the major libraries and a controlled experiment on two of these libraries with 28 student participants. Results: Only half of the major libraries explicitly focus on usability and misuse resistance, which is reflected in their current APIs. We found that participants were more successful using rust-crypto which we considered less usable than ring before the experiment. Conclusion: We discuss API design insights and make recommendations for the design of crypto libraries in Rust regarding the detail and structure of the documentation, higher-level APIs as wrappers for the existing low-level libraries, and selected, good-quality example code to improve the emerging cryptographic libraries of Rust.
机译:背景信息:加密API的可用性差是漏洞的严重来源。目的:我们想了解Rust中存在什么样的加密图书馆以及它们是多么可用。方法:我们通过系统搜索探索了Rust的加密图书馆,对主要图书馆进行了探索性研究,以及28名学生参与者的两个图书馆上的一个受控实验。结果:只有一半的主要图书馆明确关注可用性和滥用阻力,这反映在他们目前的API中。我们发现,参与者更成功地使用锈密码,我们在实验前的戒指中被认为不如环。结论:我们讨论API设计见解,并为RUDED设计的设计建议,并对文档的细节和结构,更高级别的API作为现有低级库的包装,以及所选的,优质的示例代码改善新兴加密图书馆的生锈。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号