Updates to Security

updates to security related files. Nothing bad is afoot, but Cipher and
Password storage could be made more secure.