changed yml key encryption method