changing algorithms to ciphers and adding hashes