← Back to team overview

kadpeer team mailing list archive

sha1跟BigInt的integration.

 

*Max,我已经实现了sha1跟BigInt的integration.

一段字符串sha 的结果就是一个160b的BigInt,刚好是Node ID的大小.

这样一段数据流要做store的时候就可以直接search跟该流sha1之后的160b一样的节点做store.

你可以把code checkout看看。
*

-- 
Thanks & Regards

Linux Developer : Devil Wang