ssl

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encrypted string, options ...DecryptOptions) (string, error)

func Encrypt

func Encrypt(plaintext string) (string, error)

func PKCS5UnPadding

func PKCS5UnPadding(src []byte) []byte

PKCS5UnPadding pads a certain blob of data with necessary data to be used in AES block cipher

Types

type DecryptOptions

type DecryptOptions struct {
	SecretKey string
	IV        string
}

Jump to

Keyboard shortcuts

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