I have a spec that calls for a Base64 encrypted password to be passed
to a web service.
I have poked around Convert.ToBase6 4 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 xEncryptedStrin g as string
xRawString = "MyPasswordStri ng"
xEncryptedStrin g = SomehowConvertT oBase64(xRawStr ing)
'******** end totally FOO code: ************
Get
Return xEncryptedStrin g
End Get
Set(ByVal value As String)
Me.passwordFiel d = xEncryptedStrin g
End Set
End Property
to a web service.
I have poked around Convert.ToBase6 4 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 xEncryptedStrin g as string
xRawString = "MyPasswordStri ng"
xEncryptedStrin g = SomehowConvertT oBase64(xRawStr ing)
'******** end totally FOO code: ************
Get
Return xEncryptedStrin g
End Get
Set(ByVal value As String)
Me.passwordFiel d = xEncryptedStrin g
End Set
End Property
Comment