<commit_before>// Script created by Max1Truc
// Source available on GitHub at https://GitHub.com/Max1Truc/crypt
// It's under the MIT License

document.write("<p id='temp_global'></p>");

function crypt (message, password) {
	
    const alphanumeric_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789אגיךטכמןפצחש',!.;:=+-()/@%$*? abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789אגיךטכמןפצחש',!.;:=+-()/@%$*? ";
    
    let extended_password = ((message.length - (message.length % password.length))/password.length) + 1;
    extended_password = <PASSWORD>(<PASSWORD>);
	
	
    for (let i = 0; i < message.length; i++) {
		index_in_alphanumeric_chars = alphanumeric_chars.indexOf(message[i]) + alphanumeric_chars.indexOf(extended_password[i]);
		document.getElementById("temp_global").innerHTML += alphanumeric_chars[index_in_alphanumeric_chars];
    };
	
    let crypted = document.getElementById("temp_global").innerHTML;
    document.getElementById("temp_global").innerHTML = "";
    return crypted;
};

function uncrypt (crypted_message, password) {
	
    const alphanumeric_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789אגיךטכמןפצחש',!.;:=+-()/@%$*? abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789אגיךטכמןפצחש',!.;:=+-()/@%$*? ";
    
    let extended_password = ((crypted_message.length - (crypted_message.length % password.length))/password.length) + 1;
    extended_password = <PASSWORD>(<PASSWORD>);
	
	
    for (let i = 0; i < crypted_message.length; i++) {
	index_in_alphanumeric_chars = (alphanumeric_chars.indexOf(crypted_message[i]) - alphanumeric_chars.indexOf(extended_password[i])) + (alphanumeric_chars.length / 2);
	document.getElementById("temp_global").innerHTML += alphanumeric_chars[index_in_alphanumeric_chars];
    };
	
    let crypted = document.getElementById("temp_global").innerHTML;
    document.getElementById("temp_global").innerHTML = "";
    return crypted;
};<commit_msg>Update crypt.js<commit_after>// Script created by Max1Truc
// Source available on GitHub at https://GitHub.com/Max1Truc/crypt
// It's under the MIT License

document.write("<p id='temp_global'></p>");

function crypt (message, password) {
	
    const alphanumeric_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\"',!.;:=+-()/\\@%$*? ".repeat(2);
    
    let extended_password = ((message.length - (message.length % password.length))/password.length) + 1;
    extended_password = <PASSWORD>(<PASSWORD>);
	
	
    for (let i = 0; i < message.length; i++) {
		index_in_alphanumeric_chars = alphanumeric_chars.indexOf(message[i]) + alphanumeric_chars.indexOf(extended_password[i]);
		document.getElementById("temp_global").innerHTML += alphanumeric_chars[index_in_alphanumeric_chars];
    };
	
    let crypted = document.getElementById("temp_global").innerHTML;
    document.getElementById("temp_global").innerHTML = "";
    return crypted;
};

function uncrypt (crypted_message, password) {
	
    const alphanumeric_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\"',!.;:=+-()/\\@%$*? ".repeat(2);
    
    let extended_password = ((crypted_message.length - (crypted_message.length % password.length))/password.length) + 1;
    extended_password = password.<PASSWORD>(<PASSWORD>password);
	
	
    for (let i = 0; i < crypted_message.length; i++) {
	index_in_alphanumeric_chars = (alphanumeric_chars.indexOf(crypted_message[i]) - alphanumeric_chars.indexOf(extended_password[i])) + (alphanumeric_chars.length / 2);
	document.getElementById("temp_global").innerHTML += alphanumeric_chars[index_in_alphanumeric_chars];
    };
	
    let crypted = document.getElementById("temp_global").innerHTML;
    document.getElementById("temp_global").innerHTML = "";
    return crypted;
};
{'fraction_non_alphanumeric': 0.144248486443801, 'fraction_numerical': 0.020005264543300868, 'mean_word_length': 5.597222222222222, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7606824', 'n_tokens_mistral': 1388, 'n_tokens_neox': 1303, 'n_words': 177}