hay
is there any way to get sha1 digest similar to sha1.digest() of python :

Qt Code:
  1. QByteArray total ("abc");
  2. QByteArray hashed = QCryptographicHash::hash(total, QCryptographicHash::Sha1);
To copy to clipboard, switch view to plain text mode 

dont give the same value of python sha1.digest()