-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Richard-Hsu
Message 1 in Discussion

  rot13 
/rot ther'teen/ [Usenet: from "rotate alphabet 13 places"], v. The simple 
Caesar-cypher encryption that replaces each English letter with the one 13 places 
forward or back along the alphabet, so that "The butler did it!" becomes "Gur ohgyre 
qvq vg!" Most Usenet news reading and posting programs include a rot13 feature. It is 
used to enclose the text in a sealed wrapper that the reader must choose to open - 
e.g. for posting things that might offend some readers, or spoilers. A major advantage 
of rot13 over rot(N) for other N is that it is self-inverse, so the same code can be 
used for encoding and decoding.  
Ok. Here is what I am getting at. I want all of us interested to come up with our own 
rot13 implementation in C#, VB.NET or any other .NET language. Ideally we should 
provide two implementations 1) a simple working one and 2) an optimized one. The 
simple one should be fairly easy to implement since we are only getting it to work and 
not thinking about time (running speed) or space (memory) effiencies. However, what 
will be interesting is the optimized version of it. I can already imagine all sorts of 
way I am going to try to make it faster. 
Basically, the function will take a string and return the processed (rot13'ed) string. 
Since I am from Kolkata, I will post further thoughts/code on this one in the Kolkata 
User Group site. 
I have already posted more info and my working (a.k.a. naive) version here 
(http://groups.msn.com/kolkatanet/general.msnw?action=get_message&mview=0&ID_Message=210)
 
Regards, 
Richard.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to