Perform the following:
- Import the com.kount.ris.util.Khash class.
- Pass the raw card number onto the hashPaymentToken() call.
- Catch the NoSuchAlgorithmException that could be thrown.
package net.kount.ris; import java.security.NoSuchAlgorithmException; import com.kount.ris.util.Khash; public class KhashExample { public static void main(String[] args) throws NoSuchAlgorithmException { try { String creditCard = "4111111111111111"; String khashedCreditCard = Khash.hashPaymentToken(creditCard); System.out.println(khashedCreditCard); } catch (NoSuchAlgorithmException nsae) { System.out.println("Failed to hash the credit card:" + nsae.getMessage())); } } }