Free buffer with operator delete []
Change names of SHA2 functions to avoid name clashes