hiboot: hidevops.io/hiboot/pkg/utils/crypto/aes Index | Files

package aes

import "hidevops.io/hiboot/pkg/utils/crypto/aes"

Package aes provides aes encryption/decryption utilities


Package Files


func Decrypt Uses

func Decrypt(key []byte, cryptoText string) (retVal string, err error)

Decrypt from base64 to decrypted string

func Encrypt Uses

func Encrypt(key []byte, text string) (retVal string, err error)

Encrypt string to base64 crypto using AES

Package aes imports 7 packages (graph). Updated 2019-04-02. Refresh now. Tools for package owners.