Nim cryptographic library
Go to file
Eugene Kabanov 24e006df85
Refactor actions ci. (#58)
* Initial commit.

* Fix nim_branch.

* Fix bootstrap scripts.

* Fix git checkout.

* Add compiler's version dump.

* Add schedule job every day at 22:25 UTC.

* Change schedule to 23:00 UTC.

* Fix issue.

* Attempt to fix cron issue.

* Fix pull_request.

* Recover.

* Revert to previous version.
2022-07-06 02:24:18 +03:00
.github/workflows Refactor actions ci. (#58) 2022-07-06 02:24:18 +03:00
docs Fix hash in documentation 2019-11-02 20:37:01 -07:00
examples use "openArray" instead of "openarray" for stylecheck (#55) 2022-07-05 13:33:21 +03:00
nimcrypto Refactor sysrand to remove `result` usage and fix style check issues. (#57) 2022-07-05 15:33:37 +03:00
tests Refactor actions ci. (#58) 2022-07-06 02:24:18 +03:00
.gitignore refactor test suite execution to reduce duplication 2019-01-18 16:17:02 +01:00
.travis.yml Fix Nim v1.0.x compilation problems (#47) 2020-09-07 17:51:33 +03:00
LICENSE
README.md Use Github Actions instead of Travis & Appveyor. (#52) 2021-06-19 02:28:08 +03:00
appveyor.yml Fix Nim v1.0.x compilation problems (#47) 2020-09-07 17:51:33 +03:00
nimcrypto.nim Add SHA1 digest and tests. 2019-03-02 17:43:44 +02:00
nimcrypto.nimble enable --gc:orc testing (#49) 2021-02-25 18:52:26 +02:00

README.md

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

nimble install nimcrypto # installation
# example.nim
import nimcrypto

echo keccak_256.digest("Alice makes a hash") 
# outputs F8AE86DA35CF3D9F0816BAA6015A6AFFD20BA5D6A533FEA94D89D6164264326F

See full documentation here.