Skip to content

A Javascript implementation of Reed-Solomon erasure codes

License

Notifications You must be signed in to change notification settings

FeherMarcell/ErasureCodes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ErasureCodes

A Javascript implementation of Reed-Solomon erasure codes. This library is optimised for, and operates on, large Uint8Arrays. To include, simply add erasure.js to your project, and call the split, and recombine methods. The recombine method assume the fragments are in the same order as they were initially after encode.

A browser benchmark demonstrating erasure encoding and decoding is at: http://ianopolous.github.io/ErasureCodes/erasure.html

In this, a 5 MiB file is split into 40 fragments, and an additional 20 fragments are generated. Then the decode is tested with 0 - 10 missing fragments.

About

A Javascript implementation of Reed-Solomon erasure codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.2%
  • HTML 1.8%