1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
8</head>
9<body>
10
11<h1><CODE>crypto</CODE> - <CODE>Rsa</CODE> Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16    <p>This sample uses the RSA algorithm.</p>
17    <p>This demo uses the following classes.</p>
18    <ul>
19        <li><CODE>nn::crypto::RsaContext</CODE></li>
20    </ul>
21</div>
22
23<h2>Required Environment</h2>
24
25<div class="section">
26    <p>None.</p>
27</div>
28
29<h2>How to Use</h2>
30
31<div class="section">
32    <p>None.</p>
33</div>
34
35<h2>Notes</h2>
36
37<div class="section">
38    <ul>
39        <li>This demo does not display anything on the screen. The logs are all displayed in debug output.<BR> Therefore, operations under a release build cannot be confirmed.</li>
40    </ul></div>
41
42<h2>Execution Procedure</h2>
43
44<div class="section">
45    <p>When the demo is executed, the following log is displayed in debug output.</p>
46    <pre class="code">cryptoRSA sample</pre>
47
48    <h3>Encrypting and Decrypting with RSA Public-Key Cryptography</h3>
49    <pre class="code">ENCRYPT
50Encrypt SUCCESS
51DECRYPT
52Decrypt SUCCESS
53DECRYPTED MESSAGE:
54this is test string.</pre>
55
56    <h3>Signature Verification with RSA Public-Key Cryptography</h3>
57    <pre class="code">SIGN
58VERIFY
59Verify SUCCESS</pre>
60
61    <h3>Signature Verification of the Digest Value with RSA Public-Key Cryptography</h3>
62    <pre class="code">DIGEST and SIGN
63Digest and Sign SUCCESS
64VERIFY
65Verify SUCCESS
66RSA test FINISHED.</pre>
67
68    <p>There is no shutdown procedure. Stop execution in a timely manner.</p>
69</div>
70
71<h2>Revision History</h2>
72
73<div class="section">
74    <dl class="history">
75        <dt>2012/01/12</dt>
76        <dd>Changed name from <CODE>crypto</CODE> to <CODE>Rsa</CODE>.</dd>
77        <dt>2011/09/08</dt>
78        <dd>Initial version.</dd>
79    </dl>
80</div>
81
82
83<hr><p>CONFIDENTIAL</p></body>
84</html>