I am trying to implement Google Pay decryption method as mentioned.
It mentions to use tink
library with the example of Java (PaymentMethodTokenRecipient) but I'm unable to duplicate it for Golang.
I am trying to implement Google Pay decryption method as mentioned.
It mentions to use tink
library with the example of Java (PaymentMethodTokenRecipient) but I'm unable to duplicate it for Golang.
I'm not personally familiar with the library, but have a look at Tink.
There's a decrypt method that may do what you are after, and a cli that may help with how to use it: https://github.com/google/tink/blob/master/tools/testing/go/hybrid_decrypt_cli.go