
RSP Encrypt .Net 3.5.0

.Net interface to encrypt files and strings with a very fast 
implementation of AES 256 bits and standard RC4


Install

To install the .Net interface extract the files to
an empty folder
Then execute register.bat , it will register the
required OCX rsp_encrypt_350s.ocx if
shareware or rsp_encrypt_350r.ocx if
licensed
If you are installing the licensed package you need to
locate license.reg and double click it to merge it on the 
registry
Don't double click encrypt.sln before calling register.bat
because the project will report several errors
As soon the ocx is registered you can double click encrypt.sln

Notice that the project is for .Net framework 3.5 , 
Visual Studio 2008

In case of problems
If the project don't load correct in Visual Studio 2008 then close
the project , open the IDE again , create a new C# project ,
add a form , bring up the toolbox , select Components ,
click 'Choose items' , click 'COM Components' , if the 
package is the shareware version check 
RSPEncrypt_a350.RSPEncrypt
, or if the package is the licensed version check 
RSPEncrypt_r350.RSPEncrypt
, click Ok , it will create the COM interface in 
Visual Studio 2008
Now try to open again the project
If you are using Visual Studio 2005 or older
maybe you need to modify the project to load
correctly , but it is up to you

Trying to add or remove references outside the IDE can make the
references to the interfaces disappear and some unexpected form
load problems occur
Follow the steps to make the project load correctly because if
it don't occur and you need to fix the references problems by
hand , it may requires a lot of time , but if it occurs
what you need to do is remove all the references to the COM
components and add it again , anyway , it may requires a 
lot of effort and time

Unistall

Just execute unregister.bat and delete the files from the
system


What is new in the version 3.5.0 (Thu Dec 20 14:17:26 2007) :
Recompilation , fixed some small bugs

What is new in the version 3.3.0 (Mon Aug 08 14:30:57 2005) :
Fixed incompatibility with Win XP SP2 , minor bugs fixed

What is new in the version 3.2.0 (06/Jan/2005 15:59) :
Added a new mode of AES encryption called CTR mode , in
this mode the original block cipher is converted to a
stream cipher , then , no more padding required when
the string or file is not multiple of 16 , and this 
new mode also will make the output data to be 
indistinguishable from random noise no matter what 
kind of input is sent to the encryption code , the 
speed execution is slightly slower than the normal 
AES mode , and this is the mode of choice for 
maximum security , notice that both old mode and new 
modes are available in the control , minor modifications
also


What is new in the version 3.1.0 (05/Jan/2005 16:26) :
Added full support to multiples instances of the 
control in the same form using normal method or 
CreateObject , modified the termination of the 
control to avoid possible VB crashes , enhanced 
the speed execution of the encryption/decryption , 
now the control is 10 percent faster when encrypting 
RC4 files and 40 percent faster when encrypting 
AES 256 files , minor bugs fixed

What is new in the version 3.0.0 (26/Aug/2004 10:55) :
Added CRC data detection on the encrypted file , now
the control can check whether the correct password was 
entered , added new functions to avoid the break of 
compatibility with older versions , then the control
can work in old mode or in the new mode in the same
environment , the new functions are NewEncryptFileAES ,
NewDecryptFileAES , NewEncryptFileRC4 and NewDecryptFileRC4
, added detection of valid encrypted files , now the
control will detect whether a file passed to the encryption
functions are encrypted or not before unencrypting , 
notice that it only aplies to the new functions added
, when using the old functions the new mode is just 
deactivated , minor bugs fixed

What is new in the version 2.5.0 (01/Mar/2004 18:38) :
Added string encryption code , added Unicode support to 
encryption of strings , fixed a bug that may occur
when very large passwords are passed to the control , in 
this case the control can just crash due to memory 
corruption on the stack , added string size verification 
code to both files and strings encryption , minor bugs fixed

What is new in the version 2.0.0 (16/Feb/2004 20:52) :
Added cpu detection code , added pause , resume and cancel 
functions , extended the execution to make the encryption 
and decryption functions to return immediately while the 
execution is executing in the background , added progress 
event function , added wait mode execution to make the 
functions to return only after the end of the execution , added 
process priority selection , minor bugs fixed

Features

This control can encrypt files or strings using 
AES 256 or RC4 encryption method 

The code is optimized to very fast code execution 
on Win32 when new AMD or Intel processors are available 

Ability to pause , resume and cancel the encryption of files 

Progress event to report the progress of the execution 

In the case of encryption of strings , the string 
will be converted to hexadecimal notation since the 
encrypted string is binary information that can have 
characters that cannot be shown in textboxes

This conversion will cause the size of the string 
to double , and when Unicode is used , the size will 
be 4 times the size of the original string

This occur because in Unicode support method each 
character is stored as a 16 bits value , and with 
the hexadecimal conversion the size of the original 
string will be four times the size of the original 
string

Unicode support is important to make it possible to 
show any character set available today , including 
chinese and others characters sets that has simbols 
instead of ANSI character codes

Description of the encryption methods 

The AES ( Advanced Encryption Standard ) is adopted by 
NIST as an encryption standard to be used when very strong 
encryption is required

The RC4 is the standard RC4 encryption developed by 
RSA , the control has optimized code for new AMD Athlon 
and Intel P4 processors

The Advanced Encryption Standard (AES) specifies a 
FIPS-approved cryptographic algorithm that can be 
used to protect electronic data.

The AES algorithm is a symmetric block cipher that can 
encrypt (encipher) and decrypt (decipher) information.

Encryption converts data to an unintelligible form called 
ciphertext; decrypting the ciphertext converts the data 
back into its original form, called plaintext.

The AES algorithm is capable of using cryptographic keys 
of 128, 192, and 256 bits to encrypt and decrypt data in 
blocks of 128 bits.

Notice that this control implements the 256 bit version 
of the AES encryption

And notice also that to avoid the padding of the files 
or strings that are not multiples of 16 bytes , the slice of the 
file or string that are different of a multiple of 16 is encrypted 
with RC4 , so , the destination file or string will always be the 
size of the original file , in case of problems we 
can generate this control using the standard padding 
method using an additional header in the destination 
encrypted file or string


Documentation

Documentation is available online in the homepage

Homepage
http://rspsoftware.bighost.com.br
Homepage of the control
http://rspsoftware.bighost.com.br/rspencryptnet.htm


Email 
info@rspsoftware.bighost.com.br

Phone

#55 41 9614 4533

Thanks for using our software

RSP Software 1996-2007