July 12, 2005 at 2:19 am
i have been asked to write a program which will encrypt an text file.
iam coding in vb
till now i haven't been able to find any code, which will help me..
if any knows the solution
pls post
iam using file system object to read and write strings from the text file
and encryption code should use "advapi32.dll"
no third party tool
and i have seen lots of code on the net. but they encrypt and decrypt from the textbox.
but they fail if used fso..
if any 1 has ready made code pls post
<a href="http://www.websolsoftware.com"> For IT jobs click here</a>
*Sukhoi*[font="Arial Narrow"][/font]
July 12, 2005 at 7:18 am
Most encryption mechanisms will result in character codes you wouldn't normally find in a text stream. What encyption algorithms have you tried and how have you tried to read to/write from the file (what FSO methods)?
K. Brian Kelley
@kbriankelley
July 21, 2005 at 7:41 pm
I haven't read the article yet, but today this site had an article on encryption and SQL Server. Perhaps it would be useful. It has what appears to be some good references.
http://www.sqlservercentral.com/columnists/mcoles/freeencryption.asp
I would strongly suggest a good third-party tool (not that I can recommend one off-hand). Mainly because that using a proven algorithm is always better than trying to write your own as it has normally been subjected to scrutiny and attack.
-----
[font="Arial"]Knowledge is of two kinds. We know a subject ourselves or we know where we can find information upon it. --Samuel Johnson[/font]
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply