[c] hash sample