secure

package
v0.0.0-...-f3fa3d8 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2016 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoPasswdHash

func DoPasswdHash(input string) string

func GenerateRSAKeyPair

func GenerateRSAKeyPair() (privateKey *rsa.PrivateKey, err error)

func MarshalToX509KeyPair

func MarshalToX509KeyPair(priv *rsa.PrivateKey) (priv_der []byte, pub_pem []byte, err error)

private key returned in DER format public key returned in PEM format

Types

This section is empty.

Jump to

Keyboard shortcuts

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