moved hash function for ABC code into main library
(keeping full sha3-384)