Tried to implement functionality to test if HTML is encrypted