@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		Message other = (Message) obj;
		if (encrypted != other.encrypted) {
			return false;
		}
		if (id != other.id) {
			return false;
		}
		if (!Arrays.equals(message, other.message)) {
			return false;
		}
		if (timestamp != other.timestamp) {
			return false;
		}
		return true;
	}