Computing signatures