sshcryptactions

package
v0.0.0-...-f1cd97f Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key *[keySize]byte, cipherText []byte) (clearText []byte, ok bool)

func DecryptWithPassword

func DecryptWithPassword(password []byte, cipherText []byte) (clearText []byte, ok bool, err error)

func Encrypt

func Encrypt(key *[keySize]byte, clearText []byte) (cipherText []byte, err error)

func EncryptWithPassword

func EncryptWithPassword(password []byte, clearText []byte) (cipherText []byte, err error)

func MakeKey

func MakeKey(password, salt []byte) (key [keySize]byte, err error)

func Sign

func Sign(signer ssh.Signer, data []byte) (*ssh.Signature, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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