首页> 外文会议>Reliable software technologies - Ada-Europe 2012. >Designing the API for a Cryptographic Library A Misuse-Resistant Application Programming Interface
【24h】

Designing the API for a Cryptographic Library A Misuse-Resistant Application Programming Interface

机译:为密码库设计API耐滥用的应用程序编程接口

获取原文
获取原文并翻译 | 示例

摘要

Most of the time, cryptography fails due to "implementation and management errors". So the task at hand is to design a cryptographic library to ease its safe use and to hinder implementation errors. This is of special interest when the implementation language is celebrated for its qualification to write reliable safe and secure systems, such as Ada.This paper concentrates on the handling of nonces ("number used once") and on authenticated encryption, i.e., on establishing a safe communication channel between two parties which share a common secret key. Cryptographers consider it as a "nonce misuse", if a nonce value is ever reused. Avoiding nonce-misuse is easy in theory, but difficult in practice. One problem with authenticated encryption is that a naive combination of a secure authentication and a secure encryption scheme may turn out to be insecure. Another problem is that decryption temporarily provides an incomplete plaintext, that may eventually found to be unauthentic.We discuss how to ease the proper usage of cryptosystems, how to hinder unintentional misuse, and how one may possibly limit the damage in the case of a misuse.
机译:在大多数情况下,加密由于“实现和管理错误”而失败。因此,当前的任务是设计一个密码库,以简化其安全使用并防止实现错误。当庆祝实现语言具有编写可靠的安全系统(例如Ada)的资格时,这一点特别引起关注。本文着重于处理随机数(“一次性使用的数字”)和经过身份验证的加密,即建立密码。共享公用密钥的双方之间的安全通信通道。如果曾经重用随机数值,则密码学家将其视为“立即滥用”。避免随机滥用在理论上很容易,但在实践中却很难。认证加密的一个问题是,安全认证和安全加密方案的天真组合可能会变得不安全。另一个问题是解密会暂时提供不完整的纯文本,最终可能会导致其不真​​实。我们讨论了如何简化密码系统的正确使用,如何防止意外使用以及在滥用情况下如何限制损失。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号