I'm doing form comparison using sha1 as follows
sha1($_POST['txtEmpresa'] + $_POST['txtFornecedor'] + $_POST['txtDocumento'] + $_POST['txtValor'] + $_POST['txtVencimento']);
Is there any way to reduce this code to look like this?
sha1($_POST);
or another form of encryption that meets this need? I already used md5
and it did not work either.