KSC Open API  13.1
Kaspersky Security Center API description
binary DataProtectionApi::ProtectUtf8StringForHost ( wstring  szwHostId,
wstring  szwPlainText 
)

Protects sensitive data for the specified host (to store in its local settings or a local task)

Protects the specified text as UTF8 string encrypted with the key of the specified host.

Parameters:
szwHostId(wstring) [in] host name
szwPlainText(wstring) [in] plainText
Returns:
(binary) Ciphertext
See also: