aesutil

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package aesutil

@author: xwc1125

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptCBC

func AesDecryptCBC(encrypted []byte, key []byte) (decrypted []byte)

func AesDecryptCBCFromBase64

func AesDecryptCBCFromBase64(encrypted string, key string) (decrypted string)

func AesDecryptCFB

func AesDecryptCFB(encrypted []byte, key []byte) (decrypted []byte)

func AesDecryptCFBFromBase64

func AesDecryptCFBFromBase64(encrypted string, key string) (decrypted string)

func AesDecryptECB

func AesDecryptECB(encrypted []byte, key []byte) (decrypted []byte)

func AesDecryptECBFromBase64

func AesDecryptECBFromBase64(encrypted string, key string) (decrypted string)

func AesEncryptCBC

func AesEncryptCBC(origData []byte, key []byte) (encrypted []byte)

func AesEncryptCBCToBase64

func AesEncryptCBCToBase64(origData string, key string) (encrypted string)

func AesEncryptCFB

func AesEncryptCFB(origData []byte, key []byte) (encrypted []byte)

func AesEncryptCFBToBase64

func AesEncryptCFBToBase64(origData string, key string) (encrypted string)

=================== CFB ======================

func AesEncryptECB

func AesEncryptECB(origData []byte, key []byte) (encrypted []byte)

func AesEncryptECBToBase64

func AesEncryptECBToBase64(origData string, key string) (encrypted string)

=================== ECB ======================

Types

This section is empty.

Jump to

Keyboard shortcuts

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