#ifndef SHA1_H
#define SHA1_H

#include <stddef.h>
#include <stdint.h>

#define SHA1_DIGEST_SIZE 20

/* Computes the SHA-1 hash of some data. */
void sha1(const void *data, size_t len, uint8_t out[SHA1_DIGEST_SIZE]);

#endif /* SHA1_H */
