encoding - HSM KW command to validate ARQC -


i trying send kw command thales hsm, description 1 of field data is:

 ---------------------------------------------------------------- | pan/pan sequence no | 8b | field fixed @ 8 bytes |  ---------------------------------------------------------------- 

let data 6542000000193400.

does means have convert hex char?

yes, mean need decode hexadecimals char before inserting command data.

you've written data in hexadecimals. if data in hexadecimals inside application need hex decode bytes. bytes represented char or unsigned char in c/c++ language.

note bytes represented (by e.g. debuggers) in hexadecimals. should careful not decode bytes not hexadecimals. check origin , size of hex before start.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -