Enciphering a string

  • Thread starter Thread starter Desmond56
  • Start date Start date
D

Desmond56

Guest
Hi. I want to have a play with encrypting text. I have a string MyText = "Mary had a little lamb"

test = MyText(0) = "M"

I want to turn this into binary, make a few changes and put it back into the string

Any help with this char to binary and back?

New to VS and I am still using VS2008. Never got into it originaly.


Imports System
Imports System.IO
Imports System.Text
Public Class Form1

Private Sub btnEncript_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEncript.Click
Dim MyText As String
Dim values As String()
Dim test As String
MyText = txtText.Text
values = MyText.Split(","c)
test = MyText(0)
End Sub
End Class

Continue reading...
 
Back
Top