redicrypt

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B64Decode

func B64Decode(encoded string) []byte

Wrapper for decoding, specifically so that we can unit test to go code.

func B64Encode

func B64Encode(encoded []byte) string

Wrapper for encoding, specifically so that we can unit test to go code.

func Decrypt

func Decrypt(secret, cipherText []byte) string

func Encrypt

func Encrypt(secret, plaintext []byte) string

func Hash

func Hash(hashName string, hashVal []byte) string

Wrapper for hashing functions, returns base64encoded hashes

Types

This section is empty.

Jump to

Keyboard shortcuts

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