Crypt::InitializeKey returns the value of the cos decimal.

public Crypt::InitializeKey(
   Integer keyType,
   Strcuture parameters
:  OSHandle handle


keyTypeone of Crypt::HASH_SHA1, Crypt::HMAC_SHA1 or Crypt::HASH_SHA256
parametersfor Crypt::HMAC_SHA1, parameters["SecretKey"] is required.
handleTo keep track of the crypt context.

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.


    Example Use
    • TScript
       OSHandle handle = Crypt::InitializeKey(Crypt::HASH_SHA1);
       WString cacheName = System::GetTempPath()
                         + Crypt::Transform(handle, URL.AString())
                         + u".cache";


    TScript Version: 1.6

    Also See

    Crypt::Randomize, Crypt::Transform
    Listen All
    Comments (0)
    Characters left: 2500

    Contact Ekky

    Thanks for your interest.

    Ekky Software Customer Support Team.

    Ekky Software Product Range
    Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript