sample code of length extension attack of SHA-1