Sha256: 86fd89dae1d07cf75eac0574397069655587b887453d73aec8540e45a38ab939

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

#define TEST_NAME "hash3"
#include "cmptest.h"

static unsigned char x[] = "testing\n";
static unsigned char h[crypto_hash_BYTES];

int main(void)
{
    size_t i;

    crypto_hash(h, x, sizeof x - 1U);
    for (i = 0; i < crypto_hash_BYTES; ++i) {
        printf("%02x", (unsigned int)h[i]);
    }
    printf("\n");

    return 0;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.11 vendor/libsodium/test/default/hash3.c
rbnacl-libsodium-1.0.10 vendor/libsodium/test/default/hash3.c
rbnacl-libsodium-1.0.9 vendor/libsodium/test/default/hash3.c
rbnacl-libsodium-1.0.8 vendor/libsodium/test/default/hash3.c
rbnacl-libsodium-1.0.7 vendor/libsodium/test/default/hash3.c