A new approach to digital content privacy using quantum spin and finite-state machine