Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
33550415
提交
33550415
authored
12 年前
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
675317bb
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
2 行删除
+9
-2
changelog.html
h2/src/docsrc/html/changelog.html
+6
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
XTEA.java
h2/src/main/org/h2/security/XTEA.java
+2
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
33550415
...
@@ -18,7 +18,12 @@ Change Log
...
@@ -18,7 +18,12 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<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>
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>
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)
</li><li>
H2 Console: support the Midori browser (for Debian / Raspberry Pi)
...
...
This diff is collapsed.
Click to expand it.
h2/src/docsrc/html/roadmap.html
浏览文件 @
33550415
...
@@ -32,6 +32,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -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>
The default user name should be an empty string and not "sa".
</li><li>
Deprecate Csv.getInstance() (use the public constructor instead).
</li><li>
Deprecate Csv.getInstance() (use the public constructor instead).
</li><li>
Move ErrorCode class to org.h2.api.
</li><li>
Move ErrorCode class to org.h2.api.
</li><li>
Deprecate the encryption algorithm XTEA.
</li></ul>
</li></ul>
<h2>
Priority 1
</h2>
<h2>
Priority 1
</h2>
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/security/XTEA.java
浏览文件 @
33550415
...
@@ -11,11 +11,12 @@ import org.h2.message.DbException;
...
@@ -11,11 +11,12 @@ import org.h2.message.DbException;
/**
/**
* An implementation of the XTEA block cipher algorithm.
* An implementation of the XTEA block cipher algorithm.
* <p>
* This implementation uses 32 rounds.
* This implementation uses 32 rounds.
* The best attack reported as of 2009 is 36 rounds (Wikipedia).
*/
*/
public
class
XTEA
implements
BlockCipher
{
public
class
XTEA
implements
BlockCipher
{
// best attack reported as of 2004 is 26 rounds [wikipedia]
private
static
final
int
DELTA
=
0x9E3779B9
;
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
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
;
private
int
k16
,
k17
,
k18
,
k19
,
k20
,
k21
,
k22
,
k23
,
k24
,
k25
,
k26
,
k27
,
k28
,
k29
,
k30
,
k31
;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论