This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HSM CSC Generation
 
It's not a secret anymore!