<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nurdspace.nl/index.php?action=history&amp;feed=atom&amp;title=Envisiontec_Ultra_3DP_SLA_printer%2Fencrypt%2Fdecrypt</id>
	<title>Envisiontec Ultra 3DP SLA printer/encrypt/decrypt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nurdspace.nl/index.php?action=history&amp;feed=atom&amp;title=Envisiontec_Ultra_3DP_SLA_printer%2Fencrypt%2Fdecrypt"/>
	<link rel="alternate" type="text/html" href="https://nurdspace.nl/index.php?title=Envisiontec_Ultra_3DP_SLA_printer/encrypt/decrypt&amp;action=history"/>
	<updated>2026-04-19T07:44:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://nurdspace.nl/index.php?title=Envisiontec_Ultra_3DP_SLA_printer/encrypt/decrypt&amp;diff=10441&amp;oldid=prev</id>
		<title>Buzz: Created page with &quot;Decompiled C# code from the original binary:  &lt;pre&gt;     private string Decrypt(string csString)     {       for (int index = csString.Length - 1; index &gt;= 0; --index)       {...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nurdspace.nl/index.php?title=Envisiontec_Ultra_3DP_SLA_printer/encrypt/decrypt&amp;diff=10441&amp;oldid=prev"/>
		<updated>2020-07-11T02:34:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Decompiled C# code from the original binary:  &amp;lt;pre&amp;gt;     private string Decrypt(string csString)     {       for (int index = csString.Length - 1; index &amp;gt;= 0; --index)       {...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Decompiled C# code from the original binary:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    private string Decrypt(string csString)&lt;br /&gt;
    {&lt;br /&gt;
      for (int index = csString.Length - 1; index &amp;gt;= 0; --index)&lt;br /&gt;
      {&lt;br /&gt;
        int iPosB = index;&lt;br /&gt;
        int iPosA = this.GetPrimaryIndex(index + 3) % csString.Length;&lt;br /&gt;
        this.SwapCharacter(ref csString, iPosA, iPosB);&lt;br /&gt;
      }&lt;br /&gt;
      return csString;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private void SwapCharacter(ref string csString, int iPosA, int iPosB)&lt;br /&gt;
    {&lt;br /&gt;
      char[] charArray = csString.ToCharArray();&lt;br /&gt;
      char ch1 = charArray[iPosA];&lt;br /&gt;
      char ch2 = charArray[iPosB];&lt;br /&gt;
      charArray[iPosA] = ch2;&lt;br /&gt;
      charArray[iPosB] = ch1;&lt;br /&gt;
      csString = new string(charArray);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private int GetPrimaryIndex(int iIndex)&lt;br /&gt;
    {&lt;br /&gt;
      int iInitialIndex = 1;&lt;br /&gt;
      for (int index = 1; index &amp;lt; iIndex; ++index)&lt;br /&gt;
        iInitialIndex = this.GetNextReturn(iInitialIndex);&lt;br /&gt;
      return iInitialIndex;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    private int GetNextReturn(int iInitialIndex)&lt;br /&gt;
    {&lt;br /&gt;
      int num;&lt;br /&gt;
      do&lt;br /&gt;
      {&lt;br /&gt;
        ++iInitialIndex;&lt;br /&gt;
        num = 2;&lt;br /&gt;
        while (num &amp;lt; iInitialIndex &amp;amp;&amp;amp; iInitialIndex % num != 0)&lt;br /&gt;
          ++num;&lt;br /&gt;
      }&lt;br /&gt;
      while (num != iInitialIndex);&lt;br /&gt;
      return iInitialIndex;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Buzz</name></author>
	</entry>
</feed>