<commit_before>/* global EncryptionUtils:true */

var CONFIG_PAT = {
    enforceEmailVerification: Match.Optional(Boolean)
};

// private key
// will be flushed once the user signs out
var signedInSession = new PersistentReactiveDict('mySession');
// method that retunrsn an Uint8Array of the private key
var getPrivateKey = function () {
    var privateKeyObj = signedInSession.get('privateKey');
    console.log(privateKeyObj);
    if (privateKeyObj && privateKeyObj.privateKey) {
        return new Uint8Array(_.values(privateKeyObj.privateKey));
    }
    return null;
};

EncryptionUtils = {
    /**
     * standard options
     */
    options: {
        enforceEmailVerification: true
    },
    hasPrivateKey: function () {
        if (getPrivateKey()) {
            return true;
        }
        return false;<commit_msg>remove private key debug log<commit_after>/* global EncryptionUtils:true */

var CONFIG_PAT = {
    enforceEmailVerification: Match.Optional(Boolean)
};

// private key
// will be flushed once the user signs out
var signedInSession = new PersistentReactiveDict('mySession');
// method that retunrsn an Uint8Array of the private key
var getPrivateKey = function () {
    var privateKeyObj = signedInSession.get('privateKey');
    if (privateKeyObj && privateKeyObj.privateKey) {
        return new Uint8Array(_.values(privateKeyObj.privateKey));
    }
    return null;
};

EncryptionUtils = {
    /**
     * standard options
     */
    options: {
        enforceEmailVerification: true
    },
    hasPrivateKey: function () {
        if (getPrivateKey()) {
            return true;
        }
        return false;
{'fraction_non_alphanumeric': 0.101034692635423, 'fraction_numerical': 0.002434570906877663, 'mean_word_length': 3.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2311208', 'n_tokens_mistral': 463, 'n_tokens_neox': 461, 'n_words': 120}