1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<!--==========================================================================   Copyright 2008 Nintendo.  All rights reserved.    These coded instructions, statements, and computer programs contain   proprietary information of Nintendo of America Inc. and/or Nintendo   Company Ltd., and are protected by Federal copyright law.  They may   not be disclosed to third parties or copied or duplicated in any form,   in whole or in part, without the prior written consent of Nintendo.  ==========================================================================-->
3<HTML>
4<HEAD>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<TITLE>rc4conv</TITLE>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10<STYLE type="text/css">
11<!--
12.sample_source{
13  background-color : #e8e8e8;
14}
15H3{
16  color : teal;
17}
18.command_list{
19  margin-bottom : 16pt;
20}
21.command_desc{
22  }
23.command_item{
24  margin-top : 16pt;
25  background-color : #e8e8e8;
26}
27.blockquoted_table {
28  border : 1px;
29  width : 80%;
30}
31TD,TH{
32  border-color  : #c0d8d8;
33  padding       : 1pt 4pt 1pt 4pt;
34  border-width  : 1px;
35  border-style  : solid;
36}
37-->
38</STYLE>
39</HEAD>
40<BODY>
41<H1 align="left">rc4conv <IMG src="../image/NTR.gif" align="middle"><IMG src="../image/TWL.gif" align="middle"></H1>
42<H2>Description</H2>
43<P> <CODE>rc4conv</CODE> is a tool that creates encrypted data for one of the <CODE><A href="../crypto/rc4/CRYPTO_RC4.html">CRYPTO_RC4*</A></CODE> functions.</P>
44<H2>Using the Tool</H2>
45<H3>Start Command</H3>
46<P><CODE>% rc4conv [-s] [-t[width]] [-A4] [-o outputFile] &lt;inputFile&gt; &lt;keyFile&gt;<BR></CODE></P>
47<P> Encrypts <CODE>inputFile</CODE> using <CODE>keyFile</CODE> as the key.<BR>Up to 16 bytes of binary data can be designated for the key file.</P>
48<P>With the <code>-s</code> option, the message indicating successful compression will not be displayed.</P>
49<P>With the <code>-A4</code> option, the size of the output file will be padded with zeros so that it is a multiple of four.</P>
50<P>With the -o option, the file name of the output file can be designated. If nothing is specified, the output file appends <EM>_rc4.bin</EM> to the root input file name.</P>
51<P>With the <code>-t</code> option, the output file can be output as a C format text file. By adding options (1|2|4), you can choose between types u8, u16, and u32. (Default: u8.)</P>
52<H2>Location</H2>
53<P><CODE>$TwlCrypto/tools/bin/rc4conv.exe</CODE></P>
54<H2>See Also</H2>
55<P><CODE><A href="../crypto/rc4/CRYPTO_RC4.html">CRYPTO_RC4</A>, <A href="../crypto/rc4/CRYPTO_RC4.html">CRYPTO_RC4Fast</A></CODE></P>
56<H2>Revision History</H2>
57<P>2008/03/31 Initial version.</P>
58<hr><p>CONFIDENTIAL</p></body>
59</HTML>