mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 11:34:32 +00:00
minor fix in Hash documentation
svn path=/trunk/kdesupport/qca/; revision=1356091
This commit is contained in:
parent
7f1d1743d5
commit
f3315b6913
@ -307,11 +307,11 @@ public:
|
||||
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 @@ SecureArray outputArray = QCA::Hash("md2")::hash(sampleArray);
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user