package
1.8.1
Repository: https://github.com/microsoft/go-sqlcmd.git
Documentation: pkg.go.dev

# Functions

Decode takes a cipher text and a boolean indicating whether to decrypt the cipher text using a password, and returns the resulting plain text.
DecodeAsUtf16 takes a cipher text and a boolean indicating whether to decrypt and returns the resulting plain text as a byte array in UTF-16 format which is required when passing the secret to applications written using managed code (C#), such as Azure Data Studio.
Encode takes a plain text string and a boolean indicating whether or not to encrypt the plain text using a password, and returns the resulting cipher text.
EncryptionMethodsForUsage return the encryption methods for the current OS as comma separated string for use in help text.
Generate generates a random password of a specified length.
No description provided by the author
IsValidEncryptionMethod returns true if the method is a valid encryption method.