Fountain code server and client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
README
block.rb
block_pool.rb
client.rb
decode_block.rb
fountain_decode.rb
fountain_encode.rb
mtwist.rb
robust_soliton.rb
server.rb

README

Procedure
=========

1. Pass filename
2. Chunk up file into N 64Kb blocks
3. Forever:
  a. take prng.next as key, set for soliton and prng
	b. soliton.rand for k number of blocks
	c. (prng.rand * N+1).floor k times to get blocks
  d. xor blocks together
	e. transmit as  seed|block