crypto

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRSAKeys

func GenerateRSAKeys() (string, string)

GenerateRSAKeys generates rsa keys CREDIT: https://www.systutorials.com/how-to-generate-rsa-private-and-public-key-pair-in-go-lang/

func GenerateRSASSHKeys

func GenerateRSASSHKeys() ([]byte, []byte)

GenerateRSASSHKeys generates rsa ssh keys CREDIT: https://gist.github.com/devinodaniel/8f9b8a4f31573f428f29ec0e884e6673

func Hashed

func Hashed(s string) string

Hashed hashes given string

func ReadExistingRSASSHKeys added in v0.1.15

func ReadExistingRSASSHKeys() ([]byte, []byte)

ReadExistingRSASSHKeys reads existing rsa ssh keys

Types

This section is empty.

Jump to

Keyboard shortcuts

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