By the definition of Brownian Motion, for given t, W(t) is a normally distributed random variable with mean zero and variance t. All you need to do is just to calculate the characteristic function of this random variable. i.e. to calculate the expectation of exp(i*ksi*W), where W has a distribution N(0,t), and "ksi" represents the Greek letter.