项目作者: cheatfate

项目描述 :
Nim cryptographic library
高级语言: Nim
项目地址: git://github.com/cheatfate/nimcrypto.git
创建时间: 2018-03-11T09:11:48Z
项目社区:https://github.com/cheatfate/nimcrypto

开源协议:MIT License

下载


nimcrypto

Github action

Nim cryptographic library

Nimcrypto is Nim’s cryptographic library. It implements several popular cryptographic algorithms and their tests with some examples.

Most notably, this library has been used in the Nimbus Ethereum client. To see the implementation, check out its Github repository.

The most basic usage

  1. nimble install nimcrypto # installation
  1. # example.nim
  2. import nimcrypto
  3. echo keccak_256.digest("Alice makes a hash")
  4. # outputs F8AE86DA35CF3D9F0816BAA6015A6AFFD20BA5D6A533FEA94D89D6164264326F

See full documentation here.