| | |
How to do the encryption & decryption for text file
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2007
Posts: 95
Reputation:
Solved Threads: 0
Hi debasisdas,
Actually, I don't know how may ways it can be done.
In my project, I have a
Can you show me which way will be better and secure?
Best regards,
zawpai
Actually, I don't know how may ways it can be done.
In my project, I have a
".txt" file that is including data. So, I don't want the user to see or view them. That's why I would like to encryption. Some parts of project will need to read them again and then I need to do the decryption.Can you show me which way will be better and secure?
Best regards,
zawpai
•
•
Join Date: Jul 2008
Posts: 36
Reputation:
Solved Threads: 6
You can write ascii codes instead of strings later you can eazy convert them to data you need, or use any other function that will mask your input in file and use same function to get data back or you can transfer number into different numbering system and do it on different level.
For example.
a is 61 in decimal you can convert it to binary 00111101 now you can mask it to add few bits in front word and after word for example i will add 1010(00111101)0101 now if you write that to file in decimal system you will get 41941.
Hope these helps.
For example.
a is 61 in decimal you can convert it to binary 00111101 now you can mask it to add few bits in front word and after word for example i will add 1010(00111101)0101 now if you write that to file in decimal system you will get 41941.
Hope these helps.
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Running a VB application with MS Access database
- Next Thread: string manipulation
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






