Core develop

Added features and security improvements for the cipher core.