# rc4conv

## Description

`rc4conv` is a tool that creates encrypted data for one of the `CRYPTO_RC4*` functions.

## Using the Tool

### Start Command

`% rc4conv [-s] [-t[width]] [-A4] [-o outputFile] <inputFile> <keyFile>
`

Encrypts `inputFile` using `keyFile` as the key.
Up to 16 bytes of binary data can be designated for the key file.

With the `-s` option, the message indicating successful compression will not be displayed.

With the `-A4` option, the size of the output file will be padded with zeros so that it is a multiple of four.

With the -o option, the file name of the output file can be designated. If nothing is specified, the output file appends _rc4.bin to the root input file name.

With the `-t` 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.)

## Location

`$TwlCrypto/tools/bin/rc4conv.exe`

## See Also

`CRYPTO_RC4, CRYPTO_RC4Fast`

## Revision History

2008/03/31 Initial version.

CONFIDENTIAL