4
* An interface for padding mechanisms to implement.
5
* Copyright (c) 2007 Henri Torgemane
7
* See LICENSE.txt for full license information.
9
package com.hurlant.crypto.symmetric
11
import flash.utils.ByteArray;
14
* Tiny interface that represents a padding mechanism.
19
* Add padding to the array
21
function pad(a:ByteArray):void;
23
* Remove padding from the array.
24
* @throws Error if the padding is invalid.
26
function unpad(a:ByteArray):void;
28
* Set the blockSize to work on
30
function setBlockSize(bs:uint):void;
b'\\ No newline at end of file'