Breaking the encoded GID'S

mail@pastecode.io avatar
unknown
javascript
10 days ago
576 B
2
Indexable
Never
// Define the key character
var keyChar = 'g'; // This should be the same key that was used to encode

// The antiPlagiarism function
function antiPlagiarism(a) {
    var c = keyChar.charCodeAt(0);
    var b = "";
    for (var i = 0; i < a.length; i++) {
        b += String.fromCharCode(c ^ a.charCodeAt(i));
    }
    return b;
}

// Encoded input
var encodedText = "TWJVSJSTUVJ_UP^JTTWUU_P"; // Replace with your encoded text

// Decoding the input
var decodedText = antiPlagiarism(encodedText);
console.log("Decoded Text:", decodedText);

Leave a Comment