c# - Data protection API suddenly very slow -


our application using data protection api (via protecteddata class) encrypt password before storing it. working fine until recenly, protect method started taking 2 seconds return (instead of 0.5ms). things note:

  • it still works on colleagues' machines
  • we're using dataprotectionscope.currentuser; if switch dataprotectionscope.localmachine, works again (but that's not want)
  • i tried restart crypto service, had no effect
  • i tried restart computer, had no effect either

what causing this? how can fix (preferably without reinstalling windows)?

the problem disappeared after changed account password.


Comments