Skip to content

Instantly share code, notes, and snippets.

@GraxRabble
GraxRabble / sodium_demo.c
Last active Oct 28, 2018
This c file demostrates how to use each libsodium functions and lets you play with them to see their outputs.
View sodium_demo.c
/*
* GraxRabble
* 04 MAY 2014
* Note this was created for the 4.5 version of libSodium.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sodium.h" /* library header */
You can’t perform that action at this time.