Difference between revisions of "Widget:CRCprefix"
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: | ||
− | < | + | <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> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<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.