crypto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeypair

func GenerateKeypair(bits int) ([]byte, []byte, error)

GenerateKeypair is used to generate a new ssh private and public keypair. It takes the amount of bits that should be used to generate the private key as input and returns the private key, the public and nil or nil, nil and an error if one occurred.

Types

This section is empty.

Jump to

Keyboard shortcuts

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