aespxcbc

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

AES-PX-CBC

This repository contains the implementation of AES-PX-CBC.

AES-PX-CBC (AES Plain XOR Cipher Block Chaining) enhances the block dependency beyond what is achieved with standard CBC. Unlike traditional CBC, which uses XOR of the previous ciphertext block with the current plaintext block, AES-PX-CBC uses XOR of the previous plaintext block with the current plaintext block before applying AES encryption.

While this approach does not increase the entropy of the encrypted data, it significantly strengthens the interdependency between blocks, making it more resistant to certain types of cryptographic attacks. This enhanced block dependency provides an additional layer of security, particularly in environments where memory may be compromised.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPXCBCDecrypter

func NewPXCBCDecrypter(block cipher.Block, iv []byte) cipher.BlockMode

func NewPXCBCEncrypter

func NewPXCBCEncrypter(block cipher.Block, iv []byte) cipher.BlockMode

Types

This section is empty.

Jump to

Keyboard shortcuts

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