History-based signature or how to trust anonymous documents