Skip to main content

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

ParameterTypeDescription
plaintextstringText to encrypt
callbackCallbackFunction<EncryptedDataResult>Will be called with encrypted ciphertext

Returns

void