该库source code及其说明文档所在:http://web.eecs.utk.edu/~plank/plank/papers/CS-08-627.html
Github上也贴出了代码:https://github.com/tsuraan/Jerasure
如果我们直接google的话可以搜到两篇相关的博文,在此也贴出来,供大家深入学习:
1,http://www.cnblogs.com/yuki-lau/p/3365878.html
2,http://blog.chinaunix.net/uid-20196318-id-3277600.html
《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》《》
该库使用的编程语言为Unix下的C/C++。
所给的technique report即时一个简要的使用手册也是一个对于内部实现的介绍说明。
一,介绍
In this library, it seems that the raw encoding methods can not guarantee any level of security of the input files , because there are all systematic codes, whose raw file blocks are still "among" the encoded blocks. This is illustrated in the introduction part of this technique report.
“Most codes have a third parameter w, which is theword size. The description of a code views each device as
having w bits worth of data. ”说白了,就是指定最基本的编码操作单位,把多少个bits作为一个基本元素。(Wrong!)。
根据这篇文档的意思,word size是最高层的对于device的一种划分,形成一个个packet,而每一个packet都是同样的实际大小,这个大小称为packet size,所以总的device的大小就是w*(packet size)
这个库的结构还是比较清晰的:“This library is broken into five modules, each with its own header file and implementation in C. Typically, when using a code, one only needs three of these modules: galois, jerasure and one of the others.”
五部分满足较好的模块独立性:
有一些参数的意义必须要明白才能较好的使用库的接口: