@elizaos/core v1.0.6 / v2 / encryptStringValue
Function: encryptStringValue()
encryptStringValue(
value
,salt
):string
Common encryption function for string values
Parameters​
• value: string
The string value to encrypt
• salt: string
The salt to use for encryption
Returns​
string
- The encrypted value in 'iv:encrypted' format