Swift : nil encryption key