public static byte[] GenerateAuthenticatorServer(int status,
			byte[] authenticatorClient, String sharekey)
			throws NoSuchAlgorithmException {
		byte[] keybyte = sharekey.getBytes();
		byte[] buf = new byte[authenticatorClient.length + 4 + keybyte.length];
		TypeConvert.int2byte(status, buf, 0);
		System.arraycopy(authenticatorClient, 0, buf, 4,
				authenticatorClient.length);
		System.arraycopy(keybyte, 0, buf, 4 + authenticatorClient.length,
				keybyte.length);
		return MD5(buf);
	}