ratcheted

授权协议 MIT License
开发语言 PHP
所属分类 Web应用开发、 WebSocket开发包
软件类型 开源软件
地区 不详
投 递 者 常英纵
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

ratcheted

ratcheted implements and benchmarks various novel forward-secure key agreement andmessaging protocols and aims to provide insight into the performance aspects of the differentprotocols. The code base is structure as a library as to enable integration in other projects.

For the ratcheted library reference, see the documentation.

Requirements

  • go (with set $GOPATH)
  • dep
  • pbc (Standford Pairing-Based Cryptography Library)

Installation

$ go get -u github.com/qantik/ratcheted
$ cd ${GOPATH}/src/github.com/qantik/ratcheted

# On Linux make sure that the pbc libary path is set.
# export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib 

$ dep ensure
$ go test -v ./...

Benchmarks

The bench directory within each package contains the runtime, message andstate size benchmarks which can be run by simply executing the main.go file.

Project Structure