收藏
回答

Java发起商家转账到零钱时,RSA加密用户姓名字段返回过长?

使用微信提供的rsaEncryptOAEP方法,返回的字符串eTvYCjhQYXYpLIW6HkLLuRSPOTokPIBYBn2XjosUGvXXX0c82AXxC9bdY60Uqus0fqTv+uLhM/SBlFswABqjC11aY+60x6hyNhFaAzsy8M0wvjq5NceDDho8TLlvhvm0DT38ic8SBGFYRv7bwinMBNPabX1waUUrieVFFnw+Opv05Pxs4USMR5bhpa/8JNLcsOSyCQ/BgaMgkB+fTa6T4mC2YBAnw+xD5y9C97zCKWvUtxG2n+s+3uvmeWVllEO/tWxRTBsXnzLzkaVBU9Po1Nu73Tjs4SKfrC3QwBfej5M6jkQxBAe91UquIRDlviHryRW1WmQZ5BDbx4aFj5vSNg==

api要求的长度是2-30

回答关注问题邀请回答
收藏

2 个回答

  • Y
    Y
    2023-11-16

    最后解决了吗

    2023-11-16
    有用
    回复
  • 小彭友
    小彭友
    2022-10-09

    获取平台证书{"data":[{"effective_time":"2020-06-01T11:56:43+08:00","encrypt_certificate":{"algorithm":"AEAD_AES_256_GCM","associated_data":"certificate","ciphertext":"Kj5efN74HBg4u+PwSMCTvHTik6UY7A5FoXzKmJnWWZWAWK7zPp9rphGJLR/XSCBwPt6soFag1cZ6pDrsByOGXo0ghl4bR+8bVMGdt8xfZ85OTOs9Q8k9axnKWjevwgfrdVeRlSW2RsicDDS6nYOM2KwHX5TekIuJmZZ2rgtDGOsxvr3/l445LeuNYHrmXJIuvfBlq87h4sp1RYFLrBcmIWFoHl2ml8y6aKrS+Hmm4SYJY7iYXf0EkmAb8dGoCBgYH9wkmE6yAIBIJzT2OLhDniWjzKGNSl9ux9HqBEy6+oyh2nI0CocNSKNB3U5BWAZ5UvDH7uPBt4gp69zi+M5ALsHg+w91OLrjGUKWyzUhkpF4Nn56MCk8F37sxMwoSxiiDRaDhUomxYvYhux1/R6C425jEVW8AdTZ8L4wzMglPA91EZ3k1EVuaPit0n0wtQanSyxgth8zeKkVD2lyj88ah9GNY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ALRYhOsIbTXdHY51I7igRBrK37vf5tKSOlc6eC1WMpVGyCKkovmfk7dwkuhL1pFuVzabiBrW6Wvnb9cDgZpOrMYVJoNkRnQs+C/Bw2y68zGIo6Nt+z0XGOMNA9/KjFXfY1cY1mDh4oJLojRm6o1EoUm/daYSElD/YVOcXPbQMLEhmuFNmCq4Ik5t4eZ9EGzujeBDthQHkdiVcQUsR7x4hysxNYdbLzr5wDyCZ+eOHQg1UD3fhi2q+SD9ggjr/+BqCHjl+4k6UQyvMdJvWFTPUIH0+qMjh0UT23rWNZ8KTg2AeLJND3loYbjFFUmz8U+eQ828sS4cUz6S+1leQ==","nonce":"7ac582505bf9"},"expire_time":"2025-05-31T11:56:43+08:00","serial_no":"33E6EFA2B2A7578A24FB02E322AA52E9E7791271"}]}

    2022-10-09
    有用
    回复
登录 后发表内容