Encrypt dictioanary value and store in a key in loop

Hi Please check this,
Looks like similar.