blob: 4f301967766bc6e63a6aa92ed76530a85362a451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Encryption</title>
<link rel="stylesheet" href="gettingStarted.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
<link rel="start" href="index.html" title="Getting Started with the Oracle Berkeley DB SQL APIs" />
<link rel="up" href="dbsqlbasics.html" title="Chapter 1. Berkeley DB SQL: The Absolute Basics" />
<link rel="prev" href="bdb-concepts.html" title="Berkeley DB Concepts" />
<link rel="next" href="sequencesupport.html" title="Using Sequences" />
</head>
<body>
<div xmlns="" class="navheader">
<div class="libver">
<p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">Encryption</th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="bdb-concepts.html">Prev</a> </td>
<th width="60%" align="center">Chapter 1. Berkeley DB SQL: The Absolute Basics</th>
<td width="20%" align="right"> <a accesskey="n" href="sequencesupport.html">Next</a></td>
</tr>
</table>
<hr />
</div>
<div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a id="sql_encryption"></a>Encryption</h2>
</div>
</div>
</div>
<div class="toc">
<dl>
<dt>
<span class="sect2">
<a href="sql_encryption.html#sql_native_encrypt">Berkeley DB encryption</a>
</span>
</dt>
<dt>
<span class="sect2">
<a href="sql_encryption.html#sql_see">SQLite Encryption Extension</a>
</span>
</dt>
</dl>
</div>
<p>
When encryption is enabled, the Berkeley DB SQL API uses
native Berkeley DB encryption to assure the security of
your data. As usual, the Berkeley DB SQL API is almost
identical to the SQLite API, so you can use the syntax of
the SQLite Encryption Extension to interact with your
encrypted data.
</p>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="sql_native_encrypt"></a>Berkeley DB encryption</h3>
</div>
</div>
</div>
<p>
Berkeley DB supports encryption using the Rijndael/AES
algorithm. It is configured to use a 128-bit key. Berkeley
DB uses a 16-byte initialization vector generated using the
Mersenne Twister. All encrypted information is additionally
checksummed using the SHA1 Secure Hash Algorithm, using a
160-bit message digest. For more information on BDB
encryption, see the
<span>
<a href="../programmer_reference/env_encrypt.html" class="olink">
Berkeley DB Programmer's Reference Guide.
</a>
</span>
</p>
</div>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a id="sql_see"></a>SQLite Encryption Extension</h3>
</div>
</div>
</div>
<p>
To learn how to use the SQLite Encryption Extension (SEE),
see the official
<a class="ulink" href="http://www.hwaci.com/sw/sqlite/see.html" target="_top">
SQLite Documentation Page.
</a>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
The Berkeley DB SQL interface does not support the
sqlite3_rekey method.
</p>
</div>
</div>
</div>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"><a accesskey="p" href="bdb-concepts.html">Prev</a> </td>
<td width="20%" align="center">
<a accesskey="u" href="dbsqlbasics.html">Up</a>
</td>
<td width="40%" align="right"> <a accesskey="n" href="sequencesupport.html">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top">Berkeley DB Concepts </td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>
<td width="40%" align="right" valign="top"> Using Sequences</td>
</tr>
</table>
</div>
</body>
</html>
|