block-cipher

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MIT

README

block cipher

godev

Encrypt/Decrypt stream with a padded block algorithm (e.g. AES-CBC with PKCS7 padding)

Memory efficient, only need 2 block size buffer to decrypt and 1 block size buffer to encrypt.

Encrypter implements io.WriteCloser

Decrypter implements io.Reader

See go doc for AES-CBC example.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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