KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > security > BlockCipher


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.security;
6
7 public interface BlockCipher {
8
9     int ALIGN = 16;
10
11     void setKey(byte[] key);
12     void encrypt(byte[] bytes, int off, int len);
13     void decrypt(byte[] bytes, int off, int len);
14     int getKeyLength();
15 }
16
Popular Tags