Discuss this help topic in SecureBlackbox Forum

TElElGamalKeyMaterial.PrepareForEncryption

TElElGamalKeyMaterial     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Starts asynchronous "prepare for encryption" operation

Declaration

[C#/Java]
    void PrepareForEncryption(bool MultiUse);

[VB.NET]
    Sub PrepareForEncryption(ByVal MultiUse As Boolean)

[Pascal]
    procedure PrepareForEncryption(MultiUse : boolean = 0);

[C++]
    not available

[PHP]
    not available

Parameters

  • MultiUse - specifies if the prepared key should be reused for consequent encryption operations.If MultiUse is False, the key should be prepared explicitly before each encryption operation.If MultiUse is True, the prepared key can be reused for several consequent operations.
    Note, that use of the same key for a large number of cryptooperations is not recommended due to possible security leak.

Description

    Use this method to start asynchronous pre-computation operation. This method performs time-consuming parts of encryption operation asynchronously.

See also:     PrepareForSigning    

Discuss this help topic in SecureBlackbox Forum