signing using the digestAlgorithm you want