--- qca_basic.h 2013-05-23 13:31:38.363010708 +0400
+++ qca_basic.h 2013-05-23 14:02:34.146955529 +0400
@@ -307,11 +307,11 @@
might want to use code like this:
\code
QFile f( "file.dat" );
-if ( f1.open( IO_ReadOnly ) )
+if ( f.open( QIODevice::ReadOnly ) )
{
QCA::Hash hashObj("sha1");
- hashObj.update( &f1 );
- QString output = hashObj.final() ) ),
+ hashObj.update( &f );
+ QByteArray output = hashObj.final().toByteArray();
}
\endcode
*/
@@ -359,7 +359,7 @@
string
This is a convenience method that returns the
- hash of a QSeecureArray as a hexadecimal
+ hash of a SecureArray as a hexadecimal
representation encoded in a QString.
\param array the QByteArray to hash