sha256

Simple C SHA256 implementation. Author: Brad Conte
git clone https://noulin.net/git/sha256.git
Log | Files | Refs | LICENSE

test.c (215B)


      1 #! /usr/bin/env sheepy
      2 
      3 #include "libsheepyObject.h"
      4 #include "sha256.h"
      5 
      6 int main(int ARGC, char** ARGV) {
      7 
      8   char *clear = "a random password";
      9 
     10   char *result = sha256S(clear);
     11 
     12   puts(result);
     13   free(result);
     14 }