VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

(very) simple encryption/decryption whose key is based on milliseconds.

DiskJunky  (16 Submissions)   String Manipulation   Visual Basic 5.0   Unknown Difficulty   Thu 14th December 2000   Mon 8th February 2021

(very) simple encryption/decryption whose key is based on milliseconds.

API Declarations



'This encryption algorithim first gets the day of
'the current date (including the character "0" if
'applicable in two digits), converts both characters
'into ascii values, adds them to a prime number and
'uses that as the encryption key. The value is
'encrypted under a simple ascii value addition and
'can be deduced from the first few characters of the
'encrypted string. The first character of the
'encrypted data is ALWAYS the ascii value of how many
'characters after it is the decrypt key, ie the
'length of the decrypt key is the ascii value of the
'first character.
'
'==================================================
'I realise that a better method would be to use a
'"rolling key" method, ie, changing or incrementing
'the encryption key as each character is encrypted.
'But. I'll leave that to you.
'DiskJunky
'==================================================

Declare Function GetTickCount Lib "kernel32" () As Long


Rate (very) simple encryption/decryption whose key is based on milliseconds. (2(2 Vote))
(very) simple encryption/decryption whose key is based on milliseconds..bas

(very) simple encryption/decryption whose key is based on milliseconds. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters