gnu.crypto.cipher

Class Square

public final class Square extends BaseCipher

Square is a 128-bit key, 128-bit block cipher algorithm developed by Joan Daemen, Lars Knudsen and Vincent Rijmen.

References:

  1. The block cipher Square.
    Joan Daemen, Lars Knudsen and Vincent Rijmen.

Version: $Revision: 1.10 $

Constructor Summary
Square()
Trivial 0-arguments constructor.
Method Summary
IteratorblockSizes()
Objectclone()
voiddecrypt(byte[] in, int i, byte[] out, int j, Object k, int bs)
voidencrypt(byte[] in, int i, byte[] out, int j, Object k, int bs)
IteratorkeySizes()
ObjectmakeKey(byte[] uk, int bs)
booleanselfTest()

Constructor Detail

Square

public Square()
Trivial 0-arguments constructor.

Method Detail

blockSizes

public Iterator blockSizes()

clone

public Object clone()

decrypt

public void decrypt(byte[] in, int i, byte[] out, int j, Object k, int bs)

encrypt

public void encrypt(byte[] in, int i, byte[] out, int j, Object k, int bs)

keySizes

public Iterator keySizes()

makeKey

public Object makeKey(byte[] uk, int bs)

selfTest

public boolean selfTest()
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.