A3logics Interview Question

How to encrypt/decrypt web.config application settings?