Skip to content

Commit

Permalink
Amended README
Browse files Browse the repository at this point in the history
  • Loading branch information
Swader committed Nov 5, 2018
1 parent 334ef0d commit 922c493
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ packages/*
.env
examples/*
!examples/*.nim
tests/*
!tests/*.nim
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,23 @@

# 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 nimcrypto
echo keccak_256.digest("Alice makes a hash")
# outputs EF0CC652868DF797522FB1D5A39E58E069154D9E47E5D7DB288B7200DB6EDFEE
```

See full documentation [here](https://cheatfate.github.io/nimcrypto).
Binary file removed tests/testapi
Binary file not shown.
Binary file removed tests/testbcmode
Binary file not shown.
Binary file removed tests/testblake2
Binary file not shown.
Binary file removed tests/testblowfish
Binary file not shown.
Binary file removed tests/testhmac
Binary file not shown.
Binary file removed tests/testkdf
Binary file not shown.
Binary file removed tests/testkeccak
Binary file not shown.
Binary file removed tests/testrijndael
Binary file not shown.
Binary file removed tests/testripemd
Binary file not shown.
Binary file removed tests/testsha2
Binary file not shown.
Binary file removed tests/testsysrand
Binary file not shown.
Binary file removed tests/testtwofish
Binary file not shown.

0 comments on commit 922c493

Please sign in to comment.