L
Lauren Quantrell
I have a spec that calls for a Base64 encrypted password to be passed
to a web service.
I have poked around Convert.ToBase64 but am at a total loss on how to
do this.
Made more complicated is that the password is part of a complex data
type class.
What I am trying to do is something functions like this below
(replacing FOO code with something that works) Any help is greatly
appreciated:
Public Property password() As String
'******** start totally FOO code: ************
Dim xRawString as string
Dim xEncryptedString as string
xRawString = "MyPasswordString"
xEncryptedString = SomehowConvertToBase64(xRawString)
'******** end totally FOO code: ************
Get
Return xEncryptedString
End Get
Set(ByVal value As String)
Me.passwordField = xEncryptedString
End Set
End Property
to a web service.
I have poked around Convert.ToBase64 but am at a total loss on how to
do this.
Made more complicated is that the password is part of a complex data
type class.
What I am trying to do is something functions like this below
(replacing FOO code with something that works) Any help is greatly
appreciated:
Public Property password() As String
'******** start totally FOO code: ************
Dim xRawString as string
Dim xEncryptedString as string
xRawString = "MyPasswordString"
xEncryptedString = SomehowConvertToBase64(xRawString)
'******** end totally FOO code: ************
Get
Return xEncryptedString
End Get
Set(ByVal value As String)
Me.passwordField = xEncryptedString
End Set
End Property