Overview |
RC4 is a variable key-size cipher (the text can be decrypted if you have the key). It was designed by Rivest for RSA. This is an implementation of how the cipher is believed to work, and not the actual encryption software, which is available from RSA. |
Methods/Properties |
Methods: |
- RC4.DeCrypt(Inp As String,Key As String)
- Decrypts a string
|
- RC4.Encrypt(Inp As String,Key As String)
- Encrypts a string
|
Properties: |
- No properties.
|
Example |
Below is a demonstration of using the RC4DLL component. |
<%
Dim RC4
Set RC4 = Server.CreateObject("RC4DLL.Crypt")
Response.Write "'Hello World' encrypted with 'My Key' as the key<BR>"
Response.Write RC4.EnCrypt("'Hello World","My Key")
%>
|