Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.odbcnet
Colin Shreffler
4/26/2002 11:14:00 PM
Symmetric Encryption Component at
http://www.cod...
URL:
http://www.cod...
/components/ComponentDetail.aspx?
ComponentID=Sx0xRuj6wyU
Description:
This component uses the DES algorithm with a 64-bit
encryption key. While the source code is specific to DES,
it can be easily modified to use other symmetric
cryptography algorithms like TripleDES or RC2.
The main class called Symmetric exposes two methods:
[1] public string EncryptData(string strKey, string
strData): This method accepts a Key, strKey and another
input parameter, strData. The return string is base64
encoded so that it can be transported over an HTTP
GET/POST. If encryption fails, an empty string is
returned.
[2] public string DecryptData(string strKey, string
strData): This method accepts the same key used to
encrypt the input data, strData. strData must be base64
encoded. The method returns an empty string to indicate
an error has occurred.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password