crypto

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cipherKey, encrypted string) (string, error)

Decrypt decrypts cipher text string into plain text string

func Encrypt

func Encrypt(cipherKey, unencrypted string) (string, error)

Encrypt encrypts plain text string into cipher text string

func Pad

func Pad(buf []byte, size int) ([]byte, error)

func Unpad

func Unpad(padded []byte, size int) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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