<commit_before>[Curve25519](http://cr.yp.to/ecdh.html) is an elliptic curve, 
developed by [<NAME>](http://cr.yp.to/djb.html), for fast Diffie-Hellman key agreement.

#### Usage Example

	// what Alice does
	byte[] aliceRandomBytes = new byte[32];
	RNGCryptoServiceProvider.Create().GetBytes(aliceRandomBytes);

	byte[] alicePrivate = Curve25519.ClampPrivateKey(someRandomBytes);
	byte[] alicePublic = Curve25519.GetPublicKey(alicePrivate);

	// what Bob does
	byte[] bobRandomBytes = new byte[32];
	RNGCryptoServiceProvider.Create().GetBytes(bobRandomBytes);

	byte[] bobPrivate = Curve25519.ClampPrivateKey(bobRandomBytes);
	byte[] bobPublic = Curve25519.GetPublicKey(bobPrivate);

	// what Alice does with Bob's public key
	byte[] aliceShared = Curve25519.GetSharedSecret(alicePrivate, bobPublic);
	
	// what Bob does with Alice' public key<commit_msg>fixed example code<commit_after>[Curve25519](http://cr.yp.to/ecdh.html) is an elliptic curve, 
developed by [<NAME>](http://cr.yp.to/djb.html), for fast Diffie-Hellman key agreement.

#### Usage Example

	// what Alice does
	byte[] aliceRandomBytes = new byte[32];
	RNGCryptoServiceProvider.Create().GetBytes(aliceRandomBytes);

	byte[] alicePrivate = Curve25519.ClampPrivateKey(aliceRandomBytes);
	byte[] alicePublic = Curve25519.GetPublicKey(alicePrivate);

	// what Bob does
	byte[] bobRandomBytes = new byte[32];
	RNGCryptoServiceProvider.Create().GetBytes(bobRandomBytes);

	byte[] bobPrivate = Curve25519.ClampPrivateKey(bobRandomBytes);
	byte[] bobPublic = Curve25519.GetPublicKey(bobPrivate);

	// what Alice does with Bob's public key
	byte[] aliceShared = Curve25519.GetSharedSecret(alicePrivate, bobPublic);
	
	// what Bob does with Alice' public key
{'fraction_non_alphanumeric': 0.1247086247086247, 'fraction_numerical': 0.039627039627039624, 'mean_word_length': 5.786561264822135, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2030965', 'n_tokens_mistral': 624, 'n_tokens_neox': 547, 'n_words': 123}