Method | Description | |
---|---|---|
AesTransform ( byte table, byte vector, byte key ) : System |
Initializes a new instance of the AesTransform class. The provided arrays are copied into the AesTransform instance to avoid mutation. |
|
TransformArraySegment ( byte data, byte vector, int segmentStart, int segmentEnd ) : void |
Method | Description | |
---|---|---|
FillXorBlock ( byte iv, byte xorBlock ) : void |
Fills a 16-element byte array with copies of the specified IV.
|
|
GetTransformer ( byte key ) : ICryptoTransform | ||
TransformBlock ( byte data, byte iv, int blockStart, int blockEnd, byte xorBlock ) : void |
Performs the AES transformation on a single block of the data. The parameter xorBlock is used only for performance considerations, to avoid instantiating a new array every time a transformation has to be done. It should not be shorter than 16 elements, and it's unnecessary for it to be longer. Its contents will be overwritten. |
public AesTransform ( byte table, byte vector, byte key ) : System | ||
table | byte | The shuffle transformation table. |
vector | byte | The initial value for the shuffle transformation. |
key | byte | The AES key. |
return | System |
public TransformArraySegment ( byte data, byte vector, int segmentStart, int segmentEnd ) : void | ||
data | byte | |
vector | byte | |
segmentStart | int | |
segmentEnd | int | |
return | void |