|
-
Jan 20th, 2002, 01:14 PM
#1
Thread Starter
Fanatic Member
Decent Encyption?
Hi, this is my first complete Encyption. Tell me if it is decent, and ways I could inprove it.
VB Code:
Dim I As Long
Dim Total() As Byte
Dim TheTotal() As Byte
Dim n As Long
Dim AX As Integer
Dim AAA As Long
Dim X As Integer
n = FileLen(File1.Path + "/" + File1.FileName)
ReDim Total(n - 1)
ReDim TheTotal(n - 1)
TheFile = File1.Path + "/" + File1.FileName
Open TheFile For Binary As #10
Get #10, , Total()
Close #10
AAA = (Len(Text1.Text) + 100) / Len(Text1.Text)
AX = 1
For I = LBound(Total) To UBound(Total)
X = AAA
X = X + AX
TheTotal(I) = Total(I) Xor X
AX = AX + 1
If AX = 10 Then
AX = 1
End If
Next I
Open TheFile For Binary Access Write As #20
Put #20, , TheTotal()
Close #20
Be kind I am Noob at this 
Thanks
-
Jan 20th, 2002, 04:39 PM
#2
Thread Starter
Fanatic Member
-
Jan 20th, 2002, 09:03 PM
#3
Thread Starter
Fanatic Member
-
Jan 20th, 2002, 09:06 PM
#4
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jan 20th, 2002, 09:08 PM
#5
quite simple to decrypt
-
Jan 20th, 2002, 09:13 PM
#6
Thread Starter
Fanatic Member
-
Jan 20th, 2002, 09:17 PM
#7
Just a thought though:
AX = AX + 1
If AX = 10 Then
AX = 1
End If
What about:
AX = AX + 1
AX = AX Mod 10
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jan 20th, 2002, 11:07 PM
#8
Thread Starter
Fanatic Member
-
Jan 21st, 2002, 08:01 AM
#9
Thread Starter
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|