/**
 * Package blockcipher provides block cipher interface.
 */ /**
 * Block cipher interface.
 */ export interface BlockCipher { /**
     * Byte length of cipher block.
     */ blockSize : number ; /**
     * Sets a new key for cipher.
     */ setKey ( key ) : this ; /**
     * Encrypts one block of data in src and puts the result into dst.
     *
     * Src and dst may be equal, but otherwise must not overlap.
     */ encryptBlock ( src , dst ) : this ; /**
     * Decrypts one block of data in src and puts the result into dst.
     *
     * Src and dst may be equal, but otherwise must not overlap.
     */ decryptBlock ( src , dst ) : this ; /**
     * Wipes state from memory.
     */ clean ( ) : this ; } export interface BlockCipherContructor { new ( key , noDecryption ? ) : BlockCipher ; }