.net - 实现 DUKPT key 管理

标签 .net security

我目前正在寻求实现 DUKPT (每个事务派生唯一 key )并且不知道如何成功实现它。有谁知道分步指南/现有实现,或者有关客户端-服务器应用程序中解决方案实际实现的更多信息?

DUKPT 简介:

In cryptography, Derived Unique Key Per Transaction (DUKPT) is a key management scheme in which for every transaction, a unique key is used which is derived from a fixed key. Therefore, if a derived key is compromised, future and past transaction data are still protected since the next or prior keys cannot be determined easily. DUKPT is specified in ANSI X9.24 part 1.

DUKPT allows the processing of the encryption to be moved away from the devices that hold the shared secret. The encryption is done with a derived key, which is not re-used after the transaction. DUKPT is used to encrypt electronic commerce transactions. While it can be used to protect information between two companies or banks, it is typically used to encrypt PIN information acquired by Point-Of-Sale (POS) devices. DUKPT is not itself an encryption standard; rather it is a key management technique. The features of the DUKPT scheme are:

  • Enable both originating and receiving parties to be in agreement as to the key being used for a given transaction,
  • Each transaction will have a distinct key from all other transactions, except by coincidence,
  • If a present key is compromised, past and future keys (and thus the transactional data encrypted under them) remain uncompromised,
  • Each device generates a different key sequence,
  • Originators and receivers of encrypted messages do not have to perform an interactive key-agreement protocol beforehand.

最佳答案

我最近经历了同样的痛苦,导致了这个 iOS DUKPT 实现。

https://github.com/mburshteyn1/DUKPT

关于.net - 实现 DUKPT key 管理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2286933/

相关文章:

security - iOS/Security.Framework 的 CRL 和 OCSP 行为?

.net - .NET/Oracle 架构的数据处理逻辑的最佳位置

.net - 命名空间的另一个含义?

c# - 如何在 DLL 中捆绑 index.html、jquery.js、main.css 以在 WPF 中使用?

spring - 内容安全策略 Spring Security

java - 周围有哪些免费的用于管理 Java keystore 和安全证书的工具

php - # 分钟不活动后自动注销用户

MySQL 服务器和 VB 2008 安全

c# - C#中使用按钮调用屏幕键盘

c# - 相同的源,具有不同资源的多个目标(Visual Studio .Net 2008)