gpt4 book ai didi

.net - 实现 DUKPT key 管理

转载 作者:行者123 更新时间:2023-12-03 03:25:08 29 4
gpt4 key购买 nike

我目前正在寻求实现 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/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com