FAQ
It would be much better to have Public Key and Private Key separated.

--

Search Discussions

  • Minux at Nov 7, 2012 at 7:40 pm

    On Wed, Nov 7, 2012 at 8:45 AM, wrote:

    It would be much better to have Public Key and Private Key separated.
    because when you use private key, it makes sense to also provide public key.

    however, you frequently need to only use the public key without priviate
    key,
    so publickey is a standalone structure, and rsa.PrivateKey has an embedded
    rsa.PublicKey.

    remember that for RSA, public key and private key are symmetric.

    --

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedNov 7, '12 at 12:45a
activeNov 7, '12 at 7:40p
posts2
users2
websitegolang.org

2 users in discussion

Minux: 1 post Visan Ovidiu: 1 post

People

Translate

site design / logo © 2022 Grokbase