SHA512 0.2

need how to input data to array step by malloc