Discover Packages
github.com/tsrmtrue/asiotestrobot
openbilibili-go-common-master
app
interface
main
report-click
service
crypto
aes
package
Version:
v0.0.0-...-83adff0
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
CBCDecrypt(src, key, iv, p)
CBCEncrypt(src, key, iv, p)
ECBDecrypt(src, key, p)
ECBEncrypt(src, key, p)
Types
Source Files
Documentation
Documentation
¶
Variables
func CBCDecrypt(src, key, iv []byte, p padding.Padding) ([]byte, error)
func CBCEncrypt(src, key, iv []byte, p padding.Padding) ([]byte, error)
func ECBDecrypt(src, key []byte, p padding.Padding) ([]byte, error)
func ECBEncrypt(src, key []byte, p padding.Padding) ([]byte, error)
View Source
var (
ErrAesBlockSize = errors .New ("plaintext is not a multiple of the block size")
ErrAesSrcSize = errors .New ("ciphertext too short")
ErrAesIVSize = errors .New ("iv size is not a block size")
)
CBCDecrypt aes cbc decrypt.
CBCEncrypt aes cbc encrypt.
ECBDecrypt aes ecb decrypt.
ECBEncrypt aes ecb encrypt.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.