Encryption mode switcher feature added (Issue #1 fixed)