<klip>
   <identity>
      <title>
         API: Klip.garble()
      </title>
   </identity>
   <locations>
      <contentsource>
         http://support.klipfolio.com/files/demo/demo.xml
      </contentsource>
      <icon>
         http://www.klipfolio.com/static/klips/klipfolio/sample_icon.png
      </icon>
      <banner>
         http://www.klipfolio.com/static/klips/klipfolio/sample_banner.png   
      </banner>
   </locations>
   <klipscript>
   <![CDATA[

function onLoad() {    
    text = "This is some text to garble.";
    
    trace( "Original: " + text + "\r\n" );

    trace( "Garbled: " 
         + Klip.garble( text ) 
         + "\r\n" );

    trace( "UnGarbled: " 
         + Klip.ungarble( Klip.garble( text ) ) 
         + "\r\n" );
}

function onRefresh()
{
    var xml = "<xml><item><link></link><description>" +
          "(See Debug Window for output)" +
          "</description></item></xml>";
             
     return Engines.Data.process( xml );
}

   ]]>
   </klipscript>
</klip>
