common

package
v0.0.0-...-87247c7 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptWithPrivateKey

func DecryptWithPrivateKey(ciphertext string) (string, error)

DecryptWithPrivateKey is used to decrypt ciphered text to device password with the private key whose path is available in the config file

func EncryptWithPublicKey

func EncryptWithPublicKey(password string) (string, error)

EncryptWithPublicKey is used to encrypt device password using ORCA public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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