// Create private key by number of bits.
Create private key by number of bits.
// Create private key by number of bits .
func NewPrivKey(bits uint) PrivKey {
	priv, err := rsa.GenerateKey(rand.Reader, int(bits))
	if err != nil {
		return nil
	}
	return &PrivKeyRSA{priv}
}
func NewPrivKey ( bits uint ) PrivKey { priv , err := rsa . GenerateKey ( rand . Reader , int ( bits ) ) if err != nil { return nil } return & PrivKeyRSA { priv } }
Create private key by number of bits.
Create private key by number of bits .