forked from emn178/online-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crc16.html
56 lines (50 loc) · 10.7 KB
/
crc16.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="content-language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>CRC-16 - Online Tools</title><meta name="keywords" content="CRC,CRC-16,online,hash,checksum,CRC16"><meta name="author" content="emn178"><meta name="copyright" content="emn178"><meta name="description" content="This CRC-16 online tool helps you calculate checksum from string or binary."><meta property="og:type" content="website"><meta property="og:title" content="CRC-16"><meta property="og:url" content="https://emn178.github.io/online-tools/crc16.html"><meta property="og:site_name" content="Online Tools"><meta property="og:description" content="This CRC-16 online tool helps you calculate checksum from string or binary."><meta property="og:locale" content="en"><meta property="og:image" content="https://emn178.github.io/online-tools/images/logo.png"><meta property="article:author" content="emn178"><meta property="article:tag" content="CRC,CRC-16,online,hash,checksum,CRC16"><meta property="twitter:card" content="summary"><meta property="twitter:image" content="https://emn178.github.io/online-tools/images/logo.png"><link rel="canonical" href="https://emn178.github.io/online-tools/crc16.html"><link rel="icon" type="image/x-icon" href="favicon.ico"><script>if (location.hostname != 'localhost') {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WT6N5R6W6Z');
}
var delayScripts = [];
var waitLoadCount = 0;
(function () {
function initGTMOnEvent(e) {
document.removeEventListener(event.type, initGTMOnEvent);
initGTM();
}
function initGTM() {
if (window.gtmDidInit) {
return;
}
window.gtmDidInit = true;
const script = document.createElement('script');
script.async = true;
script.src = gaUrl;
document.head.appendChild(script);
}
if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', () => {
setTimeout(initGTM, 3500);
});
document.addEventListener('scroll', initGTMOnEvent);
document.addEventListener('mousemove', initGTMOnEvent);
document.addEventListener('touchstart', initGTMOnEvent);
} else {
delayScripts.push({
src: gaUrl
});
}
})();
</script><link rel="stylesheet" href="css/style.css?v=4"></head><body><div id="header"><div class="site-name"><a href="./">Online Tools</a></div></div><div id="body"><div id="main"><h1>CRC-16</h1><div class="description">This CRC-16 online tool helps you calculate checksum from string or binary.</div><div class="input"><textarea id="input" placeholder="Input"></textarea><div class="option-block"><label><input id="keep-input" type="checkbox" value="1">Remember Input</label></div><div class="option-block"><label for="input-type">Input type</label><select id="input-type"><optgroup label="Binary"><option value="hex">Hex</option></optgroup><optgroup label="Text"><option value="utf-8" selected>UTF-8</option><option value="utf-16le" data-load-encoding="1">UTF-16LE</option><option value="utf-16be" data-load-encoding="1">UTF-16BE</option><option value="ibm866" data-load-encoding="2">IBM866</option><option value="iso-8859-2" data-load-encoding="2">ISO-8859-2</option><option value="iso-8859-3" data-load-encoding="2">ISO-8859-3</option><option value="iso-8859-4" data-load-encoding="2">ISO-8859-4</option><option value="iso-8859-5" data-load-encoding="2">ISO-8859-5</option><option value="iso-8859-6" data-load-encoding="2">ISO-8859-6</option><option value="iso-8859-7" data-load-encoding="2">ISO-8859-7</option><option value="iso-8859-8" data-load-encoding="2">ISO-8859-8</option><option value="iso-8859-8-i" data-load-encoding="2">ISO-8859-8-I</option><option value="iso-8859-10" data-load-encoding="2">ISO-8859-10</option><option value="iso-8859-13" data-load-encoding="2">ISO-8859-13</option><option value="iso-8859-14" data-load-encoding="2">ISO-8859-14</option><option value="iso-8859-15" data-load-encoding="2">ISO-8859-15</option><option value="iso-8859-16" data-load-encoding="2">ISO-8859-16</option><option value="koi8-r" data-load-encoding="2">KOI8-R</option><option value="koi8-u" data-load-encoding="2">KOI8-U</option><option value="macintosh" data-load-encoding="2">macintosh</option><option value="windows-874" data-load-encoding="2">Windows-874</option><option value="windows-1250" data-load-encoding="2">Windows-1250</option><option value="windows-1251" data-load-encoding="2">Windows-1251</option><option value="windows-1252" data-load-encoding="2">Windows-1252</option><option value="windows-1253" data-load-encoding="2">Windows-1253</option><option value="windows-1254" data-load-encoding="2">Windows-1254</option><option value="windows-1255" data-load-encoding="2">Windows-1255</option><option value="windows-1256" data-load-encoding="2">Windows-1256</option><option value="windows-1257" data-load-encoding="2">Windows-1257</option><option value="windows-1258" data-load-encoding="2">Windows-1258</option><option value="x-mac-cyrillic" data-load-encoding="2">x-mac-cyrillic</option><option value="gbk" data-load-encoding="2">GBK</option><option value="gb18030" data-load-encoding="2">gb18030</option><option value="big5" data-load-encoding="2">Big5</option><option value="euc-jp" data-load-encoding="2">EUC-JP</option><option value="iso-2022-jp" data-load-encoding="2">ISO-2022-JP</option><option value="shift_jis" data-load-encoding="2">Shift_JIS</option><option value="euc-kr" data-load-encoding="2">EUC-KR</option><option value="x-user-defined" data-load-encoding="2">x-user-defined</option></optgroup></select></div></div><div class="submit"><button class="btn btn-default" id="execute">Hash</button><label><input id="auto-update" type="checkbox" value="1" checked="checked">Auto Update</label></div><div class="output"><textarea id="output" placeholder="Output"></textarea></div><div class="submit"><button class="copy btn btn-default" data-clipboard-target="#output">Copy</button></div><div class="input-group"><input id="share-link" type="text" placeholder="Share Link" readonly><button class="copy btn btn-default" data-clipboard-target="#share-link">Copy</button></div></div><div id="sidebar"><div class="col"><ul class="menu"><li><div class="menu-group">Hash</div></li><li><a href="crc16.html">CRC-16</a></li><li><a href="crc32.html">CRC-32</a></li><li><a href="md2.html">MD2</a></li><li><a href="md4.html">MD4</a></li><li><a href="md5.html">MD5</a></li><li><a href="sha1.html">SHA1</a></li><li><a href="sha224.html">SHA224</a></li><li><a href="sha256.html">SHA256</a></li><li><a href="sha384.html">SHA384</a></li><li><a href="sha512.html">SHA512</a></li><li><a href="sha512_224.html">SHA512/224</a></li><li><a href="sha512_256.html">SHA512/256</a></li><li><a href="sha3_224.html">SHA3-224</a></li><li><a href="sha3_256.html">SHA3-256</a></li><li><a href="sha3_384.html">SHA3-384</a></li><li><a href="sha3_512.html">SHA3-512</a></li><li><a href="keccak_224.html">Keccak-224</a></li><li><a href="keccak_256.html">Keccak-256</a></li><li><a href="keccak_384.html">Keccak-384</a></li><li><a href="keccak_512.html">Keccak-512</a></li><li><a href="shake_128.html">Shake-128</a></li><li><a href="shake_256.html">Shake-256</a></li><li><a href="ripemd_128.html">RIPEMD-128</a></li><li><a href="ripemd_160.html">RIPEMD-160</a></li><li><a href="ripemd_256.html">RIPEMD-256</a></li><li><a href="ripemd_320.html">RIPEMD-320</a></li><li><a href="double_sha256.html">Double SHA256</a></li></ul><ul class="menu"><li><div class="menu-group">Encode</div></li><li><a href="base32_encode.html">Base32</a></li><li><a href="base32_encode_file.html">File to Base32</a></li><li><a href="base58_encode.html">Base58</a></li><li><a href="base58_encode_file.html">File to Base58</a></li><li><a href="base64_encode.html">Base64</a></li><li><a href="base64_encode_file.html">File to Base64</a></li><li><a href="html_encode.html">HTML</a></li><li><a href="url_encode.html">URL</a></li></ul><ul class="menu"><li><div class="menu-group">Misc</div></li><li><a href="syntax_highlight.html">Syntax Highlight</a></li></ul></div><div class="col"><ul class="menu"><li><div class="menu-group">File Hash</div></li><li><a href="crc16_checksum.html">CRC-16</a></li><li><a href="crc32_checksum.html">CRC-32</a></li><li><a href="md2_file_hash.html">MD2</a></li><li><a href="md4_file_hash.html">MD4</a></li><li><a href="md5_checksum.html">MD5</a></li><li><a href="sha1_checksum.html">SHA1</a></li><li><a href="sha224_checksum.html">SHA224</a></li><li><a href="sha256_checksum.html">SHA256</a></li><li><a href="sha384_file_hash.html">SHA384</a></li><li><a href="sha512_file_hash.html">SHA512</a></li><li><a href="sha512_224_file_hash.html">SHA512/224</a></li><li><a href="sha512_256_file_hash.html">SHA512/256</a></li><li><a href="sha3_224_checksum.html">SHA3-224</a></li><li><a href="sha3_256_checksum.html">SHA3-256</a></li><li><a href="sha3_384_checksum.html">SHA3-384</a></li><li><a href="sha3_512_checksum.html">SHA3-512</a></li><li><a href="keccak_224_checksum.html">Keccak-224</a></li><li><a href="keccak_256_checksum.html">Keccak-256</a></li><li><a href="keccak_384_checksum.html">Keccak-384</a></li><li><a href="keccak_512_checksum.html">Keccak-512</a></li><li><a href="shake_128_checksum.html">Shake-128</a></li><li><a href="shake_256_checksum.html">Shake-256</a></li><li><a href="ripemd_128_checksum.html">RIPEMD-128</a></li><li><a href="ripemd_160_checksum.html">RIPEMD-160</a></li><li><a href="ripemd_256_checksum.html">RIPEMD-256</a></li><li><a href="ripemd_320_checksum.html">RIPEMD-320</a></li><li><div class="menu-group"></div></li></ul><ul class="menu"><li><div class="menu-group">Decode</div></li><li><a href="base32_decode.html">Base32</a></li><li><a href="base32_decode_file.html">Base32 to File</a></li><li><a href="base58_decode.html">Base58</a></li><li><a href="base58_decode_file.html">Base58 to File</a></li><li><a href="base64_decode.html">Base64</a></li><li><a href="base64_decode_file.html">Base64 to File</a></li><li><a href="html_decode.html">HTML</a></li><li><a href="url_decode.html">URL</a></li></ul></div><div class="clearfix"></div></div><script>++waitLoadCount;
delayScripts.push({
src: 'https://cdn.jsdelivr.net/gh/emn178/js-crc/build/crc.min.js',
onload: function () {
window.method = crc16;
methodLoad();
}
});</script><script>delayScripts.push({
src: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/clipboard.min.js',
onload: function () {
new ClipboardJS('.copy');
},
delay: 100
});</script></div><div id="footer"><div class="contact"><a href="https://github.com/emn178/online-tools/issues">Create issues </a>if any problem.</div><div class="copyright">© 2015-2023 Online Tools</div></div><script src="https://code.jquery.com/jquery-1.10.1.min.js" defer></script><script src="js/main.js?v=7" defer></script></body></html>