Apple hasn't implemented Folder Action Scripts OR Encryption via its encryption utility, so as it is, it doesn't seem like you can do it via the MacOS itself... I'm sure there are multiple utilities that do it though -- just go to
www.versiontracker.com/macosx and search for "encrypt" or something like that.