This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { randomBytes, scrypt, timingSafeEqual } from "crypto"; | |
/* | |
#Wikipedia: | |
Scrypt: https://en.wikipedia.org/wiki/Scrypt | |
PBKDF2: https://en.wikipedia.org/wiki/PBKDF2 | |
*/ | |
const SALT_LENGTH_BYTES = 32; | |
const HASH_LENGTH_BYTES = 64; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try{ | |
$(document).ready(function() { | |
$('<div id="NittyContainer" class=""></div>').prependTo("body"); | |
$("#NittyContainer").css({ | |
"top": 0, | |
"left": 0, | |
"position": "fixed", | |
"width": "100%", | |
"height": "100%", | |
"z-index": "1000", |