overwolf.cryptography.encryptForCurrentUser
Overwolf APIs / overwolf / overwolf / cryptography / encryptForCurrentUser
function encryptForCurrentUser(
plaintext: string,
callback: CallbackFunction<EncryptedDataResult>,
): void;
Encrypt provided plaintext for current system user
Parameters
| Parameter | Type | Description |
|---|---|---|
plaintext | string | Text to encrypt |
callback | CallbackFunction<EncryptedDataResult> | Will be called with encrypted ciphertext |
Returns
void