encrypt

package
v0.95.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

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