<commit_before>var Pubkey = require('../lib/pubkey');
var Address = require('../lib/address');
var Stealthkey = require('../lib/expmt/stealthkey');
var StealthAddress = require('../lib/expmt/stealthaddress');
var StealthMessage = require('../lib/expmt/stealthmessage');
var Keypair = require('../lib/keypair')

//First, the person receiving must make a stealth key.

var sk = Stealthkey().fromRandom();

//It has an associated stealth address.

var sa = StealthAddress().fromStealthkey(sk);

console.log('Stealth address: ' + sa);

//The person sending must have a keypair.
//It is best to make a new one for each message sent.

var keypair = Keypair().fromRandom();

//Now make a message.
<commit_msg>making a keypair is unnecessary<commit_after>var Pubkey = require('../lib/pubkey');
var Address = require('../lib/address');
var Stealthkey = require('../lib/expmt/stealthkey');
var StealthAddress = require('../lib/expmt/stealthaddress');
var StealthMessage = require('../lib/expmt/stealthmessage');
var Keypair = require('../lib/keypair')

//First, the person receiving must make a stealth key.

var sk = Stealthkey().fromRandom();

//It has an associated stealth address.

var sa = StealthAddress().fromStealthkey(sk);

console.log('Stealth address: ' + sa);

//Now make a message.

{'fraction_non_alphanumeric': 0.16096423017107309, 'fraction_numerical': 0.0, 'mean_word_length': 4.384937238493724, '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': '7217746', 'n_tokens_mistral': 403, 'n_tokens_neox': 396, 'n_words': 118}