File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes HSM CSC Generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "HSM CSC Generation" Watch "HSM CSC Generation" New topic
Author

HSM CSC Generation

dushantha Rathnayake
Ranch Hand

Joined: Feb 27, 2010
Posts: 103
Hi,

I am new to HSM Communication. Our company developing a credit card management solution. In this case I have to communicate with SafeNet Luna EFT HSM. So I have to generate CSC (Card Security Code) Value. In responding process HSM respond with 12 digit length Value. But CSC value can be 3,4 or 5 digit length. In safenet document they telling this " CSC Packed 5,4,3 digit CSC ". But always HSM will return 12 digit length CSC. So how can I do substring this? If you have an idea about this safenet hsm communication please help me.

Thank you.
 
Don't get me started about those stupid light bulbs.
 
subject: HSM CSC Generation
 
Similar Threads
How/Where to store encryption key?
Credit card validation algorithm
CSC Vs Patni
regular expression
Java API for HSMs