Solution: Encrypting the value of a PWO Request Parameter (DialogParameter)

Cudos to   for helping to find the solution.

Situation:

Using the new request parameters for Orders (PWO) the requestor shall be asked for input which shall be stored encrypted.

Solution:

Using the Value Validation Script

Dim pw As String = CStr(Value)
'only encrypt if not yet encrypted
If Not pw.StartsWith("[C]") AndAlso Not pw.EndsWith("=[C]") Then
	Value = Session.Encryption.Encrypt(CStr(Value))
End If

It does not look that nice in the WebUI after the value is encrypted but it fulfills the purpose.