The function
int crypto_sign(unsigned char *sm, unsigned long long *smlen,
const unsigned char *m, unsigned long long mlen,
const unsigned char *sk);
prepends a signature to message m
. However, I am unable to find in the documentation wether libsodium signs the message directly, or creates a hash first. If it uses a hash, what kind of hashing method uses?