Spectral schemes for rightful ownership protection