Crypt::Transform
Crypt::Transform returns the value of the cos decimal.
public Crypt::Transform( OSHandle handle, BString input : BString output );
Parameters
handle | returned from Crypt::InitializeKey |
input | data to be transformed |
output | the returned buffer. |
Return Values
The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error.
Remarks
Example Use
- TScript
main(){ OSHandle handle = Crypt::InitializeKey(Crypt::HASH_SHA1); WString cacheName = System::GetTempPath() + Crypt::Transform(handle, URL.AString()) .ToString(TVariable::HEXADECIMAL) + u".cache"; }
Requirements
TScript Version: 1.6
Also See
Crypt::InitializeKey, Crypt::RandomizeListen All
Comments (0)