You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

129 lines
5.1 KiB

<?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.2</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 about the APIs which are used in 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>