Changes for portability

added .h file with prototypes for sha functions that are called
got rid of a dependence on a libsodium variable
added local directory for makefile so libsodium.a can be added there