【问题标题】:Google Pay PaymentMethodTokenRecipient function implementation in GolangGolang 中的 Google Pay PaymentMethodTokenRecipient 函数实现
【发布时间】:2019-12-02 06:28:28
【问题描述】:

我正在尝试实现上述的 Google Pay 解密方法。

https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#decrypt-token

它提到使用 tink 库和 Java (PaymentMethodTokenRecipient) 的例子,但我无法为 Golang 复制它。

【问题讨论】:

标签: go google-pay tink


【解决方案1】:

我个人对这个库不熟悉,但是看看Tink

decrypt method 可以满足您的需求,cli 可以帮助您了解如何使用它:https://github.com/google/tink/blob/master/tools/testing/go/hybrid_decrypt_cli.go

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-09-26
    • 1970-01-01
    • 2022-11-07
    • 2021-07-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多