[NTG-context] getting sha512 from text in buffer