<commit_before>function OAuthSignatureMethodHMACSHA1() {
    this.name = 'HMAC-SHA1';
    this.sign = function(request, consumer_secret, token_secret){
	
		var consumer_secret = OAuthUtilities.urlEncode(consumer_secret);
		var token_secret = OAuthUtilities.urlEncode(token_secret || '');
        var passphrase = <PASSWORD>_<PASSWORD> + '&' + token_<PASSWORD>;

		var signature_base = request.toSignatureBaseString();
        var signature = Crypto.HMAC(Crypto.SHA1, signature_base, consumer_secret + '&' + token_secret, {asString: true});
		
        return btoa(signature);
    };
    
    this.blocksize = 64;
    this.hash = function (message) {/*stub*/}
}

OAuthSignatureMethodHMACSHA1.prototype = new OAuthSignatureMethod();
<commit_msg>removed uneeded properties<commit_after>function OAuthSignatureMethodHMACSHA1() {
    this.name = 'HMAC-SHA1';
    this.sign = function(request, consumer_secret, token_secret){
	
		var consumer_secret = OAuthUtilities.urlEncode(consumer_secret);
		var token_secret = OAuthUtilities.urlEncode(token_secret || '');
        var passphrase = <PASSWORD>_<PASSWORD> + '&' + token_<PASSWORD>;

		var signature_base = request.toSignatureBaseString();
        var signature = Crypto.HMAC(Crypto.SHA1, signature_base, consumer_secret + '&' + token_secret, {asString: true});
		
        return btoa(signature);
    };
}

OAuthSignatureMethodHMACSHA1.prototype = new OAuthSignatureMethod();

{'fraction_non_alphanumeric': 0.1203377902885292, 'fraction_numerical': 0.007037297677691766, 'mean_word_length': 4.688, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '352821', 'n_tokens_mistral': 455, 'n_tokens_neox': 441, 'n_words': 76}