scottobear: (Default)
[personal profile] scottobear
Public Function Encrypt(ByVal Plain As String, Text As TextBox) 'DUH!' Dim Letter As String For i = 1 To Len(Plain) Letter = Mid$(Plain, i, 1) Mid$(Plain, i, 1) = Chr(Asc(Letter) + 1) Next i Text = Plain End Function Public Function Decrypt(ByVal Encrypted As String, Text As TextBox) 'DUH!' Dim Letter As String For i = 1 To Len(Encrypted) Letter = Mid$(Encrypted, i, 1) Mid$(Encrypted, i, 1) = Chr(Asc(Letter) - 1) Next i Text = Encrypted End Function simple substitution cipher. maybe better than the lodd idea?

Date: 2001-10-16 02:49 am (UTC)

Re:

Date: 2001-10-16 06:22 am (UTC)
From: [identity profile] scottobear.livejournal.com
'jes playin' with codeos. :)

Profile

scottobear: (Default)
scott von berg

April 2017

S M T W T F S
       1
2 345678
9 10 11 12 13 14 15
16 1718 19 20 21 22
23 2425 26 2728 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 2nd, 2026 08:02 pm
Powered by Dreamwidth Studios