Commit Graph
3 Commits
Author SHA1 Message Date
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Veselin Dobrev 0c38bd5653 In hash.cpp, include <gnutls/gnutls.h> before <gnutls/crypto.h>
which seems to be necessary for some versions of GnuTLS.
2021-04-22 21:32:32 -07:00
Veselin Dobrev 7b466024e2 Add class HashFunction for computing SHA-256 hashes using GnuTLS.
The class also implements hashing of integer sequences that is
independent of endianness and type (int, long, unsigned, etc).
Similarly, the class implements hashing of sequences of doubles
that is independent of endianness.

In class Vector, add STL-like methods 'begin' and 'end'.
2021-04-18 20:43:40 -07:00