Skip to content

Commit

Permalink
Merge pull request dsprenkels#35 from VishvajeetRamanuj/add_sss
Browse files Browse the repository at this point in the history
Improved Readme so begginer can also use easily.
  • Loading branch information
dsprenkels authored Sep 1, 2020
2 parents 41c82e8 + 647a20c commit 2ffd742
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ interface][sss-cli]. ([web demo])
2. [Download](#download)
3. [Usage](#usage)
1. [Example](#example)
2. [How to Run Program (above)](#How-to-Run-program-(above))
4. [Bindings](#bindings)
5. [Technical details](#technical-details)
6. [Comparison of secret sharing libraries](#comparison-of-secret-sharing-libraries)
Expand Down Expand Up @@ -109,6 +110,30 @@ int main()
}
```

## How to Run program (above)

1. clone from git by bellow command. (As It is recommended. If you clone make sure that file under subdirectory also came with it)
```shell
git clone --recursive https://github.com/dsprenkels/sss.git
```

2. go inside sss directory and run make command
```shell
make
```

3. copy the example provided in readme as above and save it as demo.c

4. compile demo.c by running bellow commnad
```shell
gcc demo.c -o demo randombytes.o sss.o hazmat.o tweetnacl.o
```

5. execute program by bellow command
```shell
./demo
```

## Bindings

I have currently written bindings for the following languages:
Expand Down

0 comments on commit 2ffd742

Please sign in to comment.