@Test public void runTest() { final String plainText = "TESTING ANUBIS "; final byte[] keyBytes = AnubisMethod.GetRandomKeyBytes(); final String encrypted = AnubisMethod.Anubis(plainText, keyBytes, Mode.ENCRYPT); final String decrypted = AnubisMethod.Anubis(encrypted, keyBytes, Mode.DECRYPT); assertEquals(40, keyBytes.length); assertEquals(plainText, decrypted); }
public Anubis() { }
Anubis { public Anubis() { } }
Anubis { public Anubis() { } Anubis(); }
Anubis { public Anubis() { } Anubis(); final void keySetup(byte[/* 4*N */] key); final void encrypt(byte[/* 16 */] block); final void decrypt(byte[/* 16 */] block); static void makeTestVectors(); static void main(String[] args); }
Anubis { public Anubis() { } Anubis(); final void keySetup(byte[/* 4*N */] key); final void encrypt(byte[/* 16 */] block); final void decrypt(byte[/* 16 */] block); static void makeTestVectors(); static void main(String[] args);  }