https://play.golang.org/p/XhnDZwJYdLp
On Sunday, February 28, 2021 at 10:57:21 PM UTC-5 Hugo3 wrote:
> I used 2 test keys using the key block for Alice as the public key and
> Roger as the private key. but receiving a panic error: panic: runtime
> error: invalid memory address or ni
> need Roger's private key, nor her own private key unless she wants to sign
> the message.
>
> Roger needs only Roger's private key to decrypt. If the message was
> signed by Alice's private key, he would need Alice's public key to verify
> the signat
https://play.golang.org/p/HpXdDlKcOPt
This is an example what I want to do is return a encrypted message from
Alice
that can only be read by decrypted with Rogers key to reveal a sensitive
message.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" g