<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Dondi's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 08 Aug 2008 17:42:41 GMT</pubDate>
    <description>DZone Snippets: Dondi's Code Snippets</description>
    <item>
      <title>VBScript Rot13</title>
      <link>http://snippets.dzone.com/posts/show/2714</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Public Function encrypt(strInput As String)&lt;br /&gt;    Dim n As Integer, i As Integer&lt;br /&gt;    n = 13&lt;br /&gt;    For i = 1 To Len(strInput)&lt;br /&gt;        Mid(strInput, i, 1) = Chr(Asc(Mid(strInput, i, 1)) + n)&lt;br /&gt;    Next i&lt;br /&gt;    encrypt = strInput&lt;br /&gt;End Function&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Public Function decrypt(strInput As String)&lt;br /&gt;    Dim n As Integer, i As Integer&lt;br /&gt;    n = 13&lt;br /&gt;    For i = 1 To Len(strInput)&lt;br /&gt;        Mid(strInput, i, 1) = Chr(Asc(Mid(strInput, i, 1)) - n)&lt;br /&gt;    Next i&lt;br /&gt;    decrypt = strInput&lt;br /&gt;End Function&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 26 Sep 2006 00:40:46 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2714</guid>
      <author>dondi (Dondi)</author>
    </item>
  </channel>
</rss>
