提交 33550415 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 675317bb
......@@ -18,7 +18,12 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Fulltext search: in-memory Lucene indexes are now supported.
<ul><li>Executing the statement CREATE INDEX IF ALREADY EXISTS if the index already exists
no longer fails for a read only database.
</li><li>MVCC: concurrently updating a row could result in the row to appear deleted in the second connection,
if there are multiple unique indexes (or a primary key and at least one unique index).
Thanks a lot to Teruo for the patch!
</li><li>Fulltext search: in-memory Lucene indexes are now supported.
</li><li>Fulltext search: UUID primary keys are now supported.
</li><li>Apache Tomcat 7.x will now longer log a warning when unloading the web application, if using a connection pool.
</li><li>H2 Console: support the Midori browser (for Debian / Raspberry Pi)
......
......@@ -32,6 +32,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>The default user name should be an empty string and not "sa".
</li><li>Deprecate Csv.getInstance() (use the public constructor instead).
</li><li>Move ErrorCode class to org.h2.api.
</li><li>Deprecate the encryption algorithm XTEA.
</li></ul>
<h2>Priority 1</h2>
......
......@@ -11,11 +11,12 @@ import org.h2.message.DbException;
/**
* An implementation of the XTEA block cipher algorithm.
* <p>
* This implementation uses 32 rounds.
* The best attack reported as of 2009 is 36 rounds (Wikipedia).
*/
public class XTEA implements BlockCipher {
// best attack reported as of 2004 is 26 rounds [wikipedia]
private static final int DELTA = 0x9E3779B9;
private int k0, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10, k11, k12, k13, k14, k15;
private int k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, k31;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论