State-Secrecy Codes for Stable Systems