VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Encryption

ND4SPD  (1 Submission)   Miscellaneous   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Encrypts and Decrypts a string easily

API Declarations
Public Function Encrypt(text)
For much = 1 To Len(text)
word = Asc(Mid(text, much, 1)) + 10
c$ = c$ & Chr(word)
Encrypt = c$
Next much

End Function
Public Function Decrypt(text)
For many = 1 To Len(text)
jin = Asc(Mid(text, many, 1)) - 10
d$ = d$ & Chr(jin)
Decrypt = d$
Next many
End Function

Rate Encryption (38(38 Vote))
Encryption.bas

Encryption Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters