Sha256: e5b76a66508dbe110814a33b7f4999dd77daca7b258239de29b29ba4e009f883

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

#include <stdio.h>
#include "crypto_hash_sha512.h"

unsigned char x[8] = "testing\n";
unsigned char h[crypto_hash_sha512_BYTES];

int main()
{
  int i;
  crypto_hash_sha512(h,x,sizeof x);
  for (i = 0;i < crypto_hash_sha512_BYTES;++i) printf("%02x",(unsigned int) h[i]);
  printf("\n");
  return 0;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_nacl-0.1.2 ext/ruby_nacl/NaCl/tests/hash3.c
ruby_nacl-0.1.1 ext/ruby_nacl/NaCl/tests/hash3.c
ruby_nacl-0.1.0 ext/ruby_nacl/NaCl/tests/hash3.c