Difference between revisions of "Widget:CRCprefix"

From RECESSIM, A Reverse Engineering Community
Jump to navigation Jump to search
(Created page with "<html><link type="text/css" rel="stylesheet" id="dark-mode-custom-link"><link type="text/css" rel="stylesheet" id="dark-mode-general-link"><style lang="en" type="text/css" id=...")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html><link type="text/css" rel="stylesheet" id="dark-mode-custom-link"><link type="text/css" rel="stylesheet" id="dark-mode-general-link"><style lang="en" type="text/css" id="dark-mode-custom-style"></style><style lang="en" type="text/css" id="dark-mode-native-style"></style><head lang="en">
+
<noinclude>
 +
This widget adds the '''GridStream CRC Prefix Calculator''' to your wiki page.
 +
 
 +
Code written by L0scher, widget wrapper by [[User:Hash|Hash]].
 +
 
 +
== Copy to your site ==
 +
To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''.
 +
</noinclude><includeonly>
 +
<html>
 +
<head lang="en">
 
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>CRC Prefix Calculator</title>
+
<title>GridStream CRC Prefix Calculator by L0scher</title>
<style type="text/css">
 
/*<![CDATA[*/
 
body
 
{
 
    font-style:normal;
 
    font-family:Verdana,Arial, sans-serif;
 
    background-color:white;
 
    color:black;
 
    margin-left:5%;
 
}
 
h1
 
{
 
    text-indent:1em;
 
    color:white;
 
    background-color:navy;
 
}
 
h2
 
{
 
    text-indent:2em;
 
    color:white;
 
    background-color:navy;
 
}
 
h3
 
{
 
    margin-left:1em;
 
    margin-right:1em;
 
    text-indent:2em;
 
    color:white;
 
    background-color:navy;
 
}
 
table
 
{
 
    border-style:solid;
 
}
 
td
 
{
 
    padding-left:20px;
 
}
 
caption
 
{
 
    font-style:oblique;
 
}
 
/*]]>*/
 
</style>
 
 
<script type="text/javascript">
 
<script type="text/javascript">
 
//<![CDATA[
 
//<![CDATA[
Line 98: Line 63:
 
</head>
 
</head>
 
<body>
 
<body>
<h1>CRC Prefix Calculator</h1>
+
<h1>CRC Prefix Calculator by L0scher</h1>
 
<p>Enter a string of hex bytes in the box and hit the <b>Find CRC init</b> button searches for the initial CRC value which would make the calculated CRC equal to zero.  It uses the 0x1021 polynomial value.  If it cannot find such a value, it will leave the value unchanged.
 
<p>Enter a string of hex bytes in the box and hit the <b>Find CRC init</b> button searches for the initial CRC value which would make the calculated CRC equal to zero.  It uses the 0x1021 polynomial value.  If it cannot find such a value, it will leave the value unchanged.
 
</p>
 
</p>
Line 110: Line 75:
 
<input name="submit" type="button" value="Find CRC init" onclick="calculateInit()">
 
<input name="submit" type="button" value="Find CRC init" onclick="calculateInit()">
 
</form>
 
</form>
 
 
 
</body></html>
 
</body></html>
 +
</includeonly>

Latest revision as of 21:26, 21 May 2022

This widget adds the GridStream CRC Prefix Calculator to your wiki page.

Code written by L0scher, widget wrapper by Hash.

Copy to your site

To use this widget on your site, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:CRCprefix.