Hi, I'm following the instructions for card tokenization here.
Ultimately I want to make the API calls from .net core but for now I'd be happy getting the java sample code working so I can compare the output of the java pan encryption to that of the .net encryption when I get to that point.
However, the java sample isn't working for me. The sample code provided can be found here. I had to replace the use of 'DatatypeConverter' as it's deprecated with 'Base64.getDecoder'. While this may be the issue I'd either like to get it working with a newer JDK or understand how I can get the original code working.
I noticed from another post that the transarmor key is not required (the code sample doesn't have it), yet the online documentation states that it is required. Clarity there would be appreciated too.
Does anyone know if the code works on an older JDK, I could maybe try that as the easiest first solution.