decrypt

package
v0.95.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "decrypt <password> <encrypted>",
	Short: "Decrypt encrypted text with a password",
	Args:  cobra.ExactArgs(2),
	Run: func(cmd *cobra.Command, args []string) {
		password := args[0]
		encrypted := args[1]

		decrypted, err := sikalabs_crypt.SikaLabsSymmetricDecryptV1(password, encrypted)
		if err != nil {
			log.Fatalln(err)
		}
		fmt.Println(decrypted)
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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