fixed linker error on FreeBSD (libm is separate from libc), fixed memory leak in the sha256 computation. Apparently sha sha256 context isnt deleted by SHA256_Final.[D