File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » Security
Bookmark "HSM CSC Generation" Watch "HSM CSC Generation" New topic

HSM CSC Generation

dushantha Rathnayake
Ranch Hand

Joined: Feb 27, 2010
Posts: 103

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.
I agree. Here's the link:
subject: HSM CSC Generation
jQuery in Action, 3rd edition