rsa

package
v0.0.0-...-a0d1ad3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type R

type R interface {
	Generate() (*Rsa, error)
}

type Rsa

type Rsa struct {
	PrivateKey string
	PublicKey  string
	// contains filtered or unexported fields
}

func NewRsa

func NewRsa(bits int) *Rsa

func (*Rsa) Generate

func (r *Rsa) Generate() (*Rsa, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL