I am thinking about using CRC32 or SHA1, possibly both in C program I develop on Linux (Ubuntu).
Are there any easy to use libraries for either? Cutting and pasting a CRC32 algorithm into the source code of my program seems simple enough, but doing the same for SHA1 feels slightly shaky. Are there any easy to use libraries, preferably in Ubuntu but not necessarily?
I am using C, but C++ would be OK if I had to.