Set encryption key on first run