Encryption and Decryption

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • silpa
    New Member
    • May 2007
    • 20

    Encryption and Decryption

    Apart from the encryption and decryption methods which uses different algorithms
    given in different sites on Internet,I want to encrypt and decrypt data in a different manner.

    I will define a custom string or array such as
    ($,@,!,%,^,&) ---a way like this.

    If I give a name or any information in textbox,it should be encrypted using the above characters only.
    for example,If I give as

    net in a textbox and click a button,then it should be encrypted as

    $@!------like this i.e., using user defined string or array of characters.

    Is there any way to do this.

    If so,please help me regarding this.

    Thanks,
    Silpa
  • PRR
    Recognized Expert Contributor
    • Dec 2007
    • 750

    #2
    "Apart from the encryption and decryption methods which uses different algorithms
    given in different sites on Internet,I want to encrypt and decrypt data in a different manner."
    One of best encryption algorithm is Rijndael. Its secure n robust.

    http://msdn.microsoft. com/en-us/library/system.security .cryptography.r ijndaelmanaged. aspx

    "I will define a custom string or array such as
    ($,@,!,%,^,&) ---a way like this."

    You may have to write a custom algorithm for this( depending on your requirement)... i guess u will have to have more than 26 characters... n also take care of repetitive words...Some thing like mapping... @=A/a and=@@@....

    Comment

    Working...