|
| virtual cString | Digest (const achar *aaszData, const achar *aType, eRawToStringEncoding aEncoding=eRawToStringEncoding_Hex)=0 |
| | Compute the hash of the specified string. Does not include the end zero. More...
|
| |
| virtual cString | DigestRaw (const tPtr apData, tSize anSize, const achar *aType, eRawToStringEncoding aEncoding)=0 |
| | Compute the hash of the specified data. More...
|
| |
| virtual cString | DigestFile (iFile *apFile, tSize anSize, const achar *aType, eRawToStringEncoding aEncoding)=0 |
| | Compute the hash of the specified data read from the specified file. More...
|
| |
| virtual iCryptoRand * | CreateRand ()=0 |
| | Create a new random number generator. More...
|
| |
| virtual iCryptoRand * | GetRand ()=0 |
| | Get the default crypto random number generator. {Property}. More...
|
| |
| virtual cString | KDFGenSaltBlowfish (iCryptoRand *apRand, tU32 aRounds)=0 |
| | Generate a salt for KDFCrypt. More...
|
| |
| virtual cString | KDFCrypt (const achar *aKey, const achar *aSalt)=0 |
| | Calculates a crypt(3)-style hash of password. More...
|
| |
| virtual tBool | SigVerify (const achar *signatureHex, const achar *publicKeyPEM, const achar *payload)=0 |
| | Verify a RSA signature for a specified payload. More...
|
| |
| virtual tBool | IsOK () const =0 |
| | Check if the object is valid. More...
|
| |
| virtual tI32 | AddRef ()=0 |
| | Signal that one more reference of the object has been created. More...
|
| |
| virtual tI32 | Release ()=0 |
| | Release a reference of the object. More...
|
| |
| virtual void | DeleteThis ()=0 |
| | Bypass any reference counting and delete this object. More...
|
| |
| virtual void | Invalidate ()=0 |
| | Invalidate the object. More...
|
| |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| | Query an interface. More...
|
| |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| | Fill a UUID list containing the UUIDs of the implemented interfaces. More...
|
| |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| | Set the reference counter directly. More...
|
| |
| virtual tI32 | GetNumRefs () const =0 |
| | Get the number of references to this object. More...
|
| |