encrypt

package
v1.10.29-lts Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptPassword

func DecryptPassword(encryptedData string, privateKey *rsa.PrivateKey) (string, error)

func ParseRSAPrivateKey

func ParseRSAPrivateKey(privateKeyPEM string) (*rsa.PrivateKey, error)

func StringDecrypt

func StringDecrypt(text string) (string, error)

func StringEncrypt

func StringEncrypt(text string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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