Skip to content

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

License

Notifications You must be signed in to change notification settings

NateScarlet/block-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published