Method for active content fingerprinting