Java – is there an implementation of dukpt or ANSI x9 24 open source library [closed]
My task is to decrypt the device using dukpt protocol / scheme / algorithm
The encryption algorithm itself is deSede, which is easy to use and has good library support (JCE, bouncy castle)@ H_ 419_ 3@
The problem is the dukpt part I have basic derived key (shared secret), key serial number and ciphertext, but I can't figure out what to do next@ H_ 419_ 3@
As far as possible, I don't want to write my own implementation. I prefer to use well tested libraries@ H_ 419_ 3@
Is there anything like this available@ H_ 419_ 3@
Note: dukpt = derived unique key @ h for each transaction_ 419_ 3@
Solution
I don't know how dukpt works, but using the excellent Thales simulator project, I adopted dukpt code and transplanted it to a Java library, my own crypto utils project
Disclaimer: This is my own learning action, not production code This may be helpful @ H_ 419_ 3@