Javascript Generate Hash From String To Binary