slidescript/misc/api/compression-encoding.html

79 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<title>SlideScript API: Compression &amp; Encoding / Decoding ~ The Lazy Language</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="SlideScript API and Documentation section - SlideScript is a micro stripting language with the intent to give the world an effective shell like experience with the ability to use a sloppy syntax! SlideScript can do simple every day shell tasks like manipulating and working with files, and directories, piping, variable support, and backquoting, with a bit of spice like: built-in md5, and encoder / decoder, webserver, networking functions, tar and compression functions, PLUS MORE!" />
<link href="../style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table><tr><td>
<div class="header">
<img src="../sslogo.png" class="logoimg" title="SlideScript logo" alt="SlideScript" />
</div>
</td></tr><tr><td>
<div class="menu"><!--
--><a href="../index.html">Home</a><!--
--><a href="index.html">Documentation</a><!--
--><a href="https://notabug.org/Pentium44/slidescript">Git</a><!--
--></div>
</td></tr></table>
<div class="container">
<p>Eventually, compression will be 100% working but tends to be slow and a proof
of concept for sheer size. The encoding / decoding is more than perfect for what
it does and for the sake of file checking, md5 does also exist in SlideScript
for file checking.</p>
<h2>Encoding and decoding</h2>
<p>
SlideScript has its own encoding algorithm unique to itself. In the future, I do
plan on allowing the trigger change of encode stepping to give the user their own
ability to give their twist to the encoding. This makes password encoding or decoding
a bit more secure. Examples:
<pre><code>
#!/usr/bin/slidescript
# Read a file and encode its contents
read "docs/README.txt" | encode "%PIPE%" | fileenc=%PIPE%
print "Encoded: %fileenc%"
decode "%fileenc%" | filedec=%PIPE%
print "Decoded: %filedec%"
</code></pre>
<br /><br />
<h4><b>This page is still under development!</b></h4>
</p>
<h3>IRC server</h3>
<p>
Still need help? Want to report a bug? Join us!<br /><br />
IP/Port: cddo.cc/1337<br />
Main hang channel: <b>#theroot</b><br />
FreeBox channel: <b>#freebox</b><br />
FreonLinux channel: <b>#freonlinux</b>
</p>
</div>
<div class="footer">
&copy; Chris Dorman, 2021 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode">CC BY-NC-SA 4.0</a> - Software GPLv2 licensed<br />
<p>
Powered by:<br />
<a href="https://freedns.afraid.org/">
<img style="width:100px;" src="https://freedns.afraid.org/images/freedns_crop.png" />
</a>
<a href="https://letsencrypt.org/">
<img style="width: 100px;" src="https://letsencrypt.org/images/le-logo-wide.png" />
</a>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:80px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!" />
</a>
</p>
</div>
</body>
</html>