drop custom sha lib, use openssl for hash generation
added -lcrypto to LD_FLAGS
integrated sha256 generation