mirror of
https://tinyplantnews.com/git2/ldaphotos
synced 2025-01-10 18:35:15 +00:00
da6f0568b6
Takes a line of input from stdin, then outputs its SHA256 hash. Verbosity cannot be changed.
8 lines
181 B
C
8 lines
181 B
C
#include <openssl/evp.h>
|
|
|
|
extern EVP_MD * md;
|
|
|
|
int init_hasher(void);
|
|
int deinit_hasher(void);
|
|
unsigned char * digest(const unsigned char *in, size_t inlen, unsigned int * outlen);
|