Sha256: 3bca77b6212b2764d52aa6d6f8f201d17bb89d06f9b21a66c2a0fe8e43533e92
Contents?: true
Size: 478 Bytes
Versions: 33
Compression:
Stored size: 478 Bytes
Contents
#include "crypto_hash_sha512.h" #define SHA2_CTX crypto_hash_sha512_state #ifdef SHA512_DIGEST_LENGTH # undef SHA512_DIGEST_LENGTH #endif #define SHA512_DIGEST_LENGTH crypto_hash_sha512_BYTES inline void SHA512Init(SHA2_CTX* ctx) { crypto_hash_sha512_init(ctx); } inline void SHA512Update(SHA2_CTX* ctx, const void *in, size_t inlen) { crypto_hash_sha512_update(ctx, in, inlen); } inline void SHA512Final(uint8_t* out, SHA2_CTX* ctx) { crypto_hash_sha512_final(ctx, out); }
Version data entries
33 entries across 29 versions & 2 rubygems