passkey

package
v0.0.0-...-d2d75ee Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaesarCipher

func CaesarCipher(text string, shift int) string

CaesarCipher implements a simple Caesar cipher encryption and decryption

func CryptoDecryptData

func CryptoDecryptData(contentRawB64 string, RawKey string) string

func CryptoHashedData

func CryptoHashedData(content []byte, RawKey string) string

func DepressHashedData

func DepressHashedData(passkey int, HandleTime int64, raw string) ([]byte, error)

func GenerateExistedKey

func GenerateExistedKey(passkey int, unix int64) (HashedKey string)

func GenerateKey

func GenerateKey() (passkey int, HashedKey string, HandleTime int64)

func GetLetterByPosition

func GetLetterByPosition(position int) string

GetLetterByPosition returns the letter at the specified position in the alphabet

func JsonHashedData

func JsonHashedData(k []byte) (passkey int, HandleTime int64, EncryptoData string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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