crytography functin change