I would like to know how to encrypt a value in web config itself. I know manually doing encryption and decryption in our appcode folder or having separte function. But I would like to know how can we encrypt a value of a key in Web config itself (without writing a function). Is it possible? if yes means how does?