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?

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 06:46 pm
Powered by Dreamwidth Studios