@elizaos/core v1.0.0-beta.51 / 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