Well I know there are millions of ways to encrypt text, but for some reason i like to complicate things and decided to attempt to create one. This is supposed to be encrypted one way only, so there is literally no way to decrypt it back. But I'm not sure if you can decrypt it back... so I'm wondering if i use something like this to encrypt data, would someone be able to convert it back?

Also Randomize(Number) is used to Initializes the random-number generator, but what is the largest number that 'number' could be?

VB Code:
  1. Function Encrypt(MyString As String)
  2.     Dim ValArray(255) As Long
  3.     Dim RetVal As String
  4.    
  5.     num = Len(MyString)
  6.    
  7.     Randomize (num)
  8.    
  9.     For x = 0 To 255
  10.         ValArray(x) = Int(Rnd * 255)
  11.     Next
  12.    
  13.     For y = 1 To Len(MyString)
  14.         RetVal = RetVal & Chr(ValArray(Asc(Mid(MyString, y, 1))))
  15.     Next
  16.    
  17.     Encrypt = RetVal
  18. End Function
  19.  
  20. Private Sub Command1_Click()
  21.     Label1.Caption = Encrypt(Text1.Text)
  22. End Sub