testing for http/https, repeat codes implemented
encryption changed to letters and numbers