none
Derived unique key per transaction RRS feed

  • Question

  • Hello,

    I am developing web api for any client (iphone,android,window phone ) and i want to make these services secure by DUKPT (Derived unique key per transaction) so how can i encrypt and decrypt our data on client and server end?I need the code in C#. Can someone pls help ?

    Wednesday, September 4, 2013 6:48 AM

Answers

  • Hi Navjyo,

    Thanks for posting on MSDN forum.

    Per my understanding, DUKPT is explained in ANSI X9.24 specs and can implement in any language. But unfortunately there is no direct supported classes in Namespace “System.Security.Cryptography”,  and what we can do is to provide some information which can help you get started.

    To save your time, I pick up some articles about DUKPT in C# and VB.NET.

    http://thalessim.codeplex.com/ is a project contains DUKPT implementation in VB.NET provided by CodePlex, you could find DUKPT code in ThalesCore library. This code could provide necessary help for you to implement DUKPT algorithm.

    https://github.com/scottjustin5000/DukptDecrypt is a simple project based on DUKPT provided by Scottjustin on GitHub. I recommend you to consult it.

    You could start from the samples I provided above, and if you encounter any problem about .NET programming, please feel free to ask a new question in MSDN forum.

    Best Regards,


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, September 5, 2013 4:28 AM
    Moderator