String To SecureString

Converts a plain text (plain string) value to a SecureString (encrypted) value.


⬅️INPUT

Parameter

Type

Required

Description

Text

String

✅Yes

Encrypted text to convert


➡️OUTPUT

Parameter

Type

Description

IsStringToSecureStringSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

StringToSecureStringMessage

String

Returns the error information received if the operation fails.

StringToSecureStringResult

SecureString

Encrypted text to convert


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error (default: No)