cryptok

package
v0.0.0-...-fbceb80 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHash

func CompareHash(ciphertext, plaintext string) bool

func DecryptAES

func DecryptAES(key, ciphertext string) (string, error)

func DecryptRC4

func DecryptRC4(key, ciphertext string) (string, error)

func DecryptRSA

func DecryptRSA(privateKeyValue, ciphertext string) (string, error)

func EncryptAES

func EncryptAES(key, plaintext string) (string, error)

func EncryptRC4

func EncryptRC4(key, plaintext string) (string, error)

func EncryptRSA

func EncryptRSA(publicKeyValue, plaintext string) (string, error)

func GenerateRSAKeys

func GenerateRSAKeys() (string, string, error)

func HashAndSalt

func HashAndSalt(plaintext string) (string, error)

func HmacSHA1

func HmacSHA1(key, plaintext string) string

func HmacSHA256

func HmacSHA256(key, plaintext string) string

func HmacSHA512

func HmacSHA512(key, plaintext string) string

func MD5

func MD5(plaintext string) string

func SHA1

func SHA1(plaintext string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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