|
-
Aug 7th, 2024, 06:45 AM
#1
Thread Starter
Lively Member
Built-in Function for Encryption and Decryption Using the AES Algorithm
Is there any built-in function to use in VB6 for encrypting a password using the AES algorithm?
I have found a class implementation for AES encryption in this link
Class Implementation for AES
I want to know whether any built-in functions are available in VB6 for password encryption and decryption using the AES algorithm that can replace a user-defined class.
-
Aug 7th, 2024, 06:49 AM
#2
Re: Built-in Function for Encryption and Decryption Using the AES Algorithm
Last edited by Arnoutdv; Aug 7th, 2024 at 06:54 AM.
-
Aug 7th, 2024, 07:12 AM
#3
Re: Built-in Function for Encryption and Decryption Using the AES Algorithm
 Originally Posted by IT_Researcher
It's not a class but a standard .bas module. The difference is that this way all the procedures of the module you are not calling from other code in your project get removed by the compiler/linker so your binary includes only procedures you need (and actually use) from this standard .bas module.
cheers,
</wqw>
Last edited by wqweto; Aug 7th, 2024 at 08:07 AM.
-
Aug 7th, 2024, 07:52 AM
#4
Thread Starter
Lively Member
Built-in Function for Encryption and Decryption Using the AES Algorithm
Is there any built-in function to use in VB6 for encrypting a password using the AES algorithm?
I have found a class implementation for AES encryption in this link
Class Implementation for AES
I want to know whether any built-in functions are available in VB6 for password encryption and decryption using the AES algorithm that can replace a user-defined class.
-
Aug 7th, 2024, 08:10 AM
#5
Re: Built-in Function for Encryption and Decryption Using the AES Algorithm
How is your new thread different from the previous one??
https://www.vbforums.com/showthread....-AES-Algorithm
-
Aug 7th, 2024, 01:17 PM
#6
Re: Built-in Function for Encryption and Decryption Using the AES Algorithm
Straight encryption of a password is not recommended. It is too short and easily bypassed using trial and error. It should either be hashed (at least 256 bits) or have a secondary methodology implemented. Two factor authentication is employed by most online services.
J.A. Coutts
Last edited by couttsj; Aug 7th, 2024 at 01:59 PM.
-
Aug 11th, 2024, 03:09 PM
#7
Fanatic Member
Re: Built-in Function for Encryption and Decryption Using the AES Algorithm
What Coutts said...encryption itself requires a password or similar when you encrypt the data, making the entire process convoluted and potentially insecure if you then hard-code that password within your app in order to decrypt the password it's obfuscating.
If, however, you are storing user passwords for external services (like for an FTP server), it is probably the only option available to you as you NEED to have the password data rather than a hash of it. DON'T hard-code the password in your app unless you're the only person with access to it, and when you encrypt it be sure to include lots of extraneous data to obfuscate it further...with a "deobfuscation" function in your app that removes this extraneous data. PREFERABLY have your app set up so that it asks you for the decryption password manually...It may sound like a waste of time because you still have to remember a password, but this password gives access to anything that is encrypted within your app, not just that one password.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|