Switching MD5 secure layer to SHA1