Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheatfate/nimcrypto
Nim cryptographic library
https://github.com/cheatfate/nimcrypto
crypto-library nim nim-language
Last synced: 6 days ago
JSON representation
Nim cryptographic library
- Host: GitHub
- URL: https://github.com/cheatfate/nimcrypto
- Owner: cheatfate
- License: mit
- Created: 2018-03-11T09:11:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-21T04:21:49.000Z (22 days ago)
- Last Synced: 2024-12-21T04:27:18.587Z (22 days ago)
- Topics: crypto-library, nim, nim-language
- Language: Nim
- Size: 2.85 MB
- Stars: 192
- Watchers: 7
- Forks: 25
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nim - nimcrypto - Nim cryptographic library. (Algorithms / Cryptography)
- awesome-hacking-lists - cheatfate/nimcrypto - Nim cryptographic library (Nim)
README
# nimcrypto
[![Github action](https://github.com/cheatfate/nimcrypto/workflows/nimcrypto/badge.svg)](https://github.com/cheatfate/nimcrypto/actions/workflows/ci.yml)# Nim cryptographic library
Nimcrypto is Nim's cryptographic library. It implements several popular cryptographic algorithms and their tests with some [examples](https://github.com/cheatfate/nimcrypto/tree/master/examples).
Most notably, this library has been used in the [Nimbus Ethereum client](https://our.status.im/nimbus-for-newbies/). To see the implementation, check out its [Github repository](https://github.com/status-im/nimbus).## The most basic usage
```bash
nimble install nimcrypto # installation
``````nim
# example.nim
import nimcryptoecho keccak_256.digest("Alice makes a hash")
# outputs F8AE86DA35CF3D9F0816BAA6015A6AFFD20BA5D6A533FEA94D89D6164264326F
```See full documentation [here](https://cheatfate.github.io/nimcrypto).