Its my first time to roam around on this section so i wanna give it a try. Please dont expect any payment or something in return.
I just need someone who is willing to share his/her expertise when it comes to coding. Only those who is willing to help. Some shallow minded might post here some senseless replies that asking for something for free so here is what i can say, when you were first born on this world, you all depend to any free you can get until you are grown up enough to get your own
I just want this thing to be improved for the sake of fun and learning, if your not into it then please dont post off topic
Here is the code by the way:
thanks for all your contribution guys, i was able to improve the idea you have provided to me, this is now how the code looks like:
currently, this is how it looks:
What is added due to their generous help?
-better styling
-copy button is added
what more that can be possibly added?
auto strip characters like the http:// if we paste a link to minimize encrypted characters or auto linkify detected URLs after decryption
I just need someone who is willing to share his/her expertise when it comes to coding. Only those who is willing to help. Some shallow minded might post here some senseless replies that asking for something for free so here is what i can say, when you were first born on this world, you all depend to any free you can get until you are grown up enough to get your own
I just want this thing to be improved for the sake of fun and learning, if your not into it then please dont post off topic
Here is the code by the way:
thanks for all your contribution guys, i was able to improve the idea you have provided to me, this is now how the code looks like:
Code:
<html>
<head>
<title>SharePirate Cryptographic Service | Free Online Two Way Encrypt-Decrypt Tool</title>
<meta name="description" content="SharePirate Cryptographic Service is a new handy tool that uses MD5 cryptographic signatures on top of an XOR text encryption algorithm to form a practically unbreakable hybrid." />
<meta name="keywords" content="free online two way encryption,decryption,crytographic web tool" />
<link rel="shortcut icon" type="image/png" href="sharecrypt-icon.png" />
<script type="text/javascript" src="ZeroClipboard.js"></script>
<script type="text/javascript" src="sharepirate.js"></script>
<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript" src="timer.js"></script>
<script type="text/javascript">
var _0x7b84=["\x66\x65","\x76\x61\x6C\x75\x65","\x6B\x65\x79","\x72\x65","\x6C\x65\x6E\x67\x74\x68","\x72\x6F\x75\x6E\x64","\x74\x69\x6D\x65","\x42\x2F\x73\x20","\x6D\x73\x20","\x42","","\x64\x65\x66\x61\x75\x6C\x74\x56\x61\x6C\x75\x65"]
function process(_0x4380x2)
{
var _0x4380x3=document[_0x7b84[0]];
var _0x4380x4=_0x4380x3[_0x7b84[2]][_0x7b84[1]];
var _0x4380x5=_0x4380x3[_0x7b84[3]];
var _0x4380x6=timer(function ()
{
_0x4380x5[_0x7b84[1]]=alphac(_0x4380x5[_0x7b84[1]],_0x4380x4,md5(_0x4380x4),_0x4380x2);
}
);
var _0x4380x7=_0x4380x6();
var _0x4380x8=_0x4380x5[_0x7b84[1]][_0x7b84[4]];
var _0x4380x9=Math[_0x7b84[5]](_0x4380x8/_0x4380x7*1000);
_0x4380x3[_0x7b84[6]][_0x7b84[1]]=_0x4380x9+_0x7b84[7]+_0x4380x7+_0x7b84[8]+_0x4380x8+_0x7b84[9];
}
;
function setValue(_0x4380xb)
{
if(_0x7b84[10]!=_0x4380xb[_0x7b84[11]])
{
if(_0x4380xb[_0x7b84[1]]==_0x4380xb[_0x7b84[11]])
{
_0x4380xb[_0x7b84[1]]=_0x7b84[10];
}
else
{
if(_0x7b84[10]==_0x4380xb[_0x7b84[1]])
{
_0x4380xb[_0x7b84[1]]=_0x4380xb[_0x7b84[11]];
}
}
}
}
;
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(b(d,4,3){c 2,5=d.a(4)[0];f(d.g(3))8;2=d.7(4);2.3=3;2.9="//e.6.n/h/p.2#r=1&o=j";5.i.k(2,5)}(l,\'m\',\'6-q\'));',28,28,'||js|id|s|fjs|facebook|createElement|return|src|getElementsByTagName|function|var||connect|if|getElementById|en_US|parentNode|190934141062066|insertBefore|document|script|net|appId|all|jssdk|xfbml'.split('|'),0,{}))
var _0xfbae=["\x63\x6F\x70\x79\x54\x65\x78\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x5A\x65\x72\x6F\x43\x6C\x69\x70\x62\x6F\x61\x72\x64\x2E\x73\x77\x66"]
var clip= new ZeroClipboard(document[_0xfbae[1]](_0xfbae[0]),{moviePath:_0xfbae[2]});
</script>
<style>
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none;
color: #1677cc;
}
body{
background-color: #373C3F;
text-align: center;
background-image:url(/sharecrypt.png);
background-size: 100%;
background-attachment:fixed;
background-position:top left;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/sharecrypt.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/sharecrypt.png', sizingMethod='scale')";
}
.header{
background-color: #d1d6c2;
width: 570px;
color: #1f1f1f;
font-family: georgia;
font-size: 18pt;
font-weight: bold;
height: 45px;
padding: 9px;
border: 1px solid rgba(0,0,0,0.2);
text-align: center;
border-radius:3px;
border-width:1px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
box-shadow:0px 0px 3px rgba(0,0,0,.2);
-moz-box-shadow:0px 0px 3px rgba(0,0,0,.2);
webkit-box-shadow:0px 0px 3px rgba(0,0,0,.2);
}
.sub_header{
background-color: #222;
font-size: 10pt;
font-family: verdana,tahoma;
width: 570px;
color: #ecf2dc;
padding: 18px;
border: 1px solid rgba(0,0,0,0.2);
text-align: center;
}
.sub_header3{
background-color: #222;
width: 570px;
color: #CCC;
color: #ecf2dc;
font-size: 10pt;
font-family: tahoma;
padding: 18px;
text-align: left;
height: 72px;
}
.sub_header4{
background-color: #d1d6c2;
width: 570px;
color: #1f1f1f;
font-size: 9pt;
font-family: tahoma;
padding: 9px;
a:link {color:#1c77ff;}
a:visited {color:#3d0dff;}
a:hover {color:#d1d6c2;}
a:active {color:1c77ff;}
border: 1px solid rgba(0,0,0,0.2);
text-align: center;
border-radius:3px;
border-width:1px;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
box-shadow:0px 0px 3px rgba(0,0,0,.2);
-moz-box-shadow:0px 0px 3px rgba(0,0,0,.2);
webkit-box-shadow:0px 0px 3px rgba(0,0,0,.2);
}
.fb-comments{
background-color: #222;
width: 606px;
color: #CCC;
padding: 0px;
text-align: center;
height: auto;
}
#content{
background: #17b7c3; /* Old browsers */
background: -moz-linear-gradient(top, #17b7c3 0%, #0086a0 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#17b7c3), color-stop(100%,#0086a0)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #17b7c3 0%,#0086a0 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #17b7c3 0%,#0086a0 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #17b7c3 0%,#0086a0 100%); /* IE10+ */
background: linear-gradient(to bottom, #17b7c3 0%,#0086a0 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17b7c3', endColorstr='#0086a0',GradientType=0 ); /* IE6-9 */
padding: 9px;
text-align: center;
font: Tahoma;
width: 570px;
}
textarea{
background: #FFF;
border: 1px solid #e3e3e3;
box-shadow: 0 0 5px rgba(0,0,0,0.1) inset;
padding: 5px;
border-radius: 3px;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
margin-bottom: 5px;
}
textarea:focus{
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(3, 149, 217, 0.6);
outline: none;
border: 1px solid rgba(3, 149, 217, 0.9);
}
input{
background: #FFF;
border: 1px solid #e3e3e3;
box-shadow: 0 0 5px rgba(0,0,0,0.1) inset;
padding: 9px;
border-radius: 3px;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
input:focus{
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(3, 149, 217, 0.6);
outline: none;
border: 1px solid rgba(3, 149, 217, 0.9);
}
p{
margin-top: 5px;
margin-bottom: 7px;
}
.button{
color: #fff ;
background-color: #333333;
white-space: nowrap;
line-height: 1em;
position: relative;
font-weight: bold;
font-size: 9pt;
font-family: verdana,tahoma;
outline: none;
overflow: visible;
cursor: pointer;
border: 1px solid #999;
border: rgba(0, 0, 0, .2) 1px solid;
border-bottom: rgba(0, 0, 0, .4) 1px solid;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
margin-bottom: 10px;
}
.button:active{
top: 1px;
}
</style>
</head>
<div align="center">
<div class="header">
SharePirate Cryptographic Service
</div>
<div class="sub_header">
<b>Encrypt</b> and <b>Decrypt</b> is a new handy tool that uses MD5 cryptographic signatures on top of an XOR text encryption algorithm to form a practically unbreakable hybrid.
</div>
<div id="content">
<form action="?" name="fe"onsubmit="process(window.a=!window.a); return false">
<p>
<textarea style="color: #1f1f1f; font-size: 10pt; font-family: tahoma;" onfocus="setValue(this)" onblur="setValue(this)" rows="12" cols="81" name="re" id="textData">
Type or Paste your text to be encrypted or decrypted here
</textarea>
<p>
<textarea style="color: #1f1f1f; font-size: 10pt; font-family: tahoma;" onfocus="setValue(this)" onblur="setValue(this)" rows="2" cols="54" name="key" id="textData">
Input Encryption-Decryption Key Here
</textarea>
</p>
<input class="button" type="button" value="Encrypt" onclick="process(1)" />
<input class="button" type="button" value="Decrypt" onclick="process(0)" />
<input class="button" type="reset"value="Reset" />
<input type="button" value="Copy" class="button" id="copyText" data-clipboard-target="textData">
</p>
</form>
</div>
<div class="sub_header3" >
<div style="float:left;">
<span style="color: #ccc; font-weight:bold;">
How?
</span>
<p>
Input any key you want to encrypt or.<br>
Input key provided to you, to decrypt.<br>
Then hit appropriate process button<br>
</div>
<div style="float:right;">
<span style="color: #ccc; font-weight:bold;">
Help?
</span>
<p>
Looking for key, web is fighting for what?<br>
Answer starts with: F<br>
*Don't post any key on the comment box<br>
</p>
</div>
</div>
<div id="fb-root">
</div>
<div class="fb-comments" data-href="shareme.in" data-width="570" data-height="45" data-num-posts="3" data-colorscheme="dark" >
</div>
<div class="sub_header4">
Powered By: <a href="http://sharepirate.com" target="_blank">SharePirate.Com</a> | Get Privileged: <a href="http://www.facebook.com/SharePirateCom" target="_blank">Become Fan</a>
</div>
</div>
</body>
</html>
currently, this is how it looks:
What is added due to their generous help?
-better styling
-copy button is added
what more that can be possibly added?
auto strip characters like the http:// if we paste a link to minimize encrypted characters or auto linkify detected URLs after decryption
Last edited: