Sha256: e1b54f13b23ca9e8673d5463015aa3be4cddcc7b913e18d90acc30da3f1a8e3b

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

#include <assert.h>
#include <stdio.h>
#include "pasta.h"

int main(void) {
    char *hash;
    hash = hash_password("hello123");
    assert (verify_password(hash, "hello123"));
    printf("\x1b[1;32mC test passed\x1b[m\n");
    free_string(hash);
    return 0;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libpasta-0.0.5 ext/pasta-bindings/libpasta/libpasta-capi/ctest/test.c
libpasta-0.0.5-x86_64-linux ext/pasta-bindings/libpasta/libpasta-capi/ctest/test.c