Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub FileEncrypt(InFile As String, Outfile As String, Pass As String)
Open InFile For Input As #1
Open Outfile For Output As #2
a3 = Len(Pass)
For i = 0 To LOF(1) - 1
a1 = Asc(Input(1, #1))
a2 = Asc(Mid(Pass, i Mod Len(Pass) + 1, 1))
Print #2, Chr((a1 + a2 + a3) Mod 256);
Next
Close #2
Close #1
End Sub
Private Sub FileDecrypt(InFile As String, Outfile As String, Pass As String)
Open InFile For Input As #1
Open Outfile For Output As #2
a3 = Len(Pass)
For i = 0 To LOF(1) - 1
a1 = Asc(Input(1, #1))
a2 = Asc(Mid(Pass, i Mod Len(Pass) + 1, 1))
Print #2, Chr(((a1 - a2 - a3) + 8448) Mod 256);
Next
Close #2
Close #1
End Sub