So I am new to HSM encryption. We have a Thales PayShield 9000 HSM at work and the requirement is to encrypt a clear PIN using the ISO 9564 Format 0 standard.
What I have is the following:
Clear PIN: 1111
PAN: 6999999999999992
PIN Encryption Key (32): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
My requirement is to use the BA hsm command to encrypt PIN 1111 to get a 16 hex Pin Block. I have tried
00000000BA041111FFFFFFFFFF999999999999XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
But I got response 15 , can someone advise what I am doing wrong.