473,763 Members | 5,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Encryption method desired...

MLH
Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.

Many thx N advance.
Nov 13 '05 #1
14 2807
MLH <CR**@NorthStat e.net> wrote in
news:mp******** *************** *********@4ax.c om:
Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.


Do a FIND for "Visual Basic" on this page:

http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

and see if the options there work. I'd definitely consider just
bundling the MD5 DLL with my runtime app and using its function
directly, assuming the licensing for it allows that.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #2

MLH wrote:
Will be distributing in A97 runtime environment


HMMOGBWUNAITHOO N

Nov 13 '05 #3
On Thu, 27 Oct 2005 20:52:54 -0500, "David W. Fenton"
<dX********@bwa y.net.invalid> wrote:

MD5 computes a message digest, but is not an encryption technique in
itself.

-Tom.

MLH <CR**@NorthStat e.net> wrote in
news:mp******* *************** **********@4ax. com:
Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.


Do a FIND for "Visual Basic" on this page:

http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

and see if the options there work. I'd definitely consider just
bundling the MD5 DLL with my runtime app and using its function
directly, assuming the licensing for it allows that.


Nov 13 '05 #4
On Thu, 27 Oct 2005 18:28:11 -0400, MLH <CR**@NorthStat e.net> wrote:
Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.

Many thx N advance.


1. Nothing is perfect.
2. simplest is use Winzip.
3. Use a different password for every file.
4. Use a long gibberish password.

Nov 13 '05 #5
MLH
Now there's an idea. Its certainly cheap enough.
Can I launch a password-based WinZip process
from VBA that will run hidden, read some text file
(MyClearTextFil e.txt) and write another file...
c:\WhatEverFile NameIwant.Desir edExtension
?

Any sample code you'd care to share or porint
out?
xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxx

1. Nothing is perfect.
2. simplest is use Winzip.
3. Use a different password for every file.
4. Use a long gibberish password.


Nov 13 '05 #6
MLH
Dunno much about MD5 and would like to ask about the point
you made here. What is the difference between a message
digest and an encrypted message? Would a layman, for instance,
not know the difference?

Better still - what would a text file containing "Hi Tom. How are you
today?" with a CRLF appendage look like if a password of "ABCDE"
was used?
xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxx

MD5 computes a message digest, but is not an encryption technique in
itself.

-Tom.

MLH <CR**@NorthStat e.net> wrote in
news:mp****** *************** ***********@4ax .com:
Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.


Do a FIND for "Visual Basic" on this page:

http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

and see if the options there work. I'd definitely consider just
bundling the MD5 DLL with my runtime app and using its function
directly, assuming the licensing for it allows that.


Nov 13 '05 #7
On Fri, 28 Oct 2005 09:28:21 -0400, MLH <CR**@NorthStat e.net> wrote:

A message digest is a short number (in this case 128 bits) that is
unique for this message. But given that digest, you cannot get the
plaintext back.
With an encrypted text, you (presumably) can get the plaintext back.

-Tom.

Dunno much about MD5 and would like to ask about the point
you made here. What is the difference between a message
digest and an encrypted message? Would a layman, for instance,
not know the difference?

Better still - what would a text file containing "Hi Tom. How are you
today?" with a CRLF appendage look like if a password of "ABCDE"
was used?
xxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxx

MD5 computes a message digest, but is not an encryption technique in
itself.

-Tom.

MLH <CR**@NorthStat e.net> wrote in
news:mp***** *************** ************@4a x.com:

Here's what I would like to do from with VBA procedure
running in Access 97...

Read a plaintext file on disk (IE, autoexec.bat), encrypt
it and write it to disk (say, c:\encryptd.txt ). Recommendations
on the SIMPLEST tools possible to accomplish this. Will
be distributing in A97 runtime environment and do NOT
wish to encounter problems on remote target machines
having REFERENCE issues, etc.

Do a FIND for "Visual Basic" on this page:

http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html

and see if the options there work. I'd definitely consider just
bundling the MD5 DLL with my runtime app and using its function
directly, assuming the licensing for it allows that.


Nov 13 '05 #8
MLH
Gotcha. Thx very much. I like polite person's idea.
Dunno if you looked at it. My security objective is
about as important as locking up shed if you keep
some costly tools in it. That is, I'll spring for a pad-
lock - but I'm not going to buy a used, walk-in bank
vault.

Really, I could write a routine to shuffle and cut the
string a few times - like a deck of cards. Honestly,
if I found example code posted that doessomething
like that - I'd probably just go with it.
Nov 13 '05 #9
Tom van Stiphout <no************ *@cox.net> wrote in
news:5v******** *************** *********@4ax.c om:
MD5 computes a message digest, but is not an encryption technique
in itself.


Excuse me? Google for "MD5 encryption" and you get lots of hits for
articles about encryption.

MD5 encryption is explained here:

http://aspnet.4guysfromrolla.com/articles/103002-1.aspx

under the topic heading "MD5 Encryption - A Brief Summary".

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
10438
by: Phil Palmieri | last post by:
Im using md5 to encrypt and decrypt plain text, this works fine... When i try to run the same function on a binary file, it does not decrypt correctly. Is there a way to encrypt binary files correctly, and be able to decrypt them? in the perfect situation i would like to be able to store the encrypted binary file into a mysql blob field, or at least be able to save an encrypted version of the binary file on the server.
14
1952
by: Ray Cassick \(Home\) | last post by:
Ok, time to ask the question here.. I have been battling over this one for sometime now and just have to ask it. I have created a few classes that I use to act a security keys. These classes get serialized using a binary formatter and then symmetrically encrypted. The app will deserialize them and use the contents to judge licensing capabilities, etc. Currently the license key and vectors are stored in the code. I don't like the idea...
9
8188
by: Mike Cronin via DotNetMonster.com | last post by:
Hi there, Can anyone tell me what level of encryption is used when making an HTTPS POST request through an instance of the System.Net.HttpWebRequest object? Thanks much in advance! Mike Cronin Data On Call - Programmer
7
2832
by: helmut woess | last post by:
Hi, has anybody knowledge about the safetyness of encrypting stored procs in SQL-Server 2005 using WITH ENCRYPTION? Or can they be hacked with the same old tools which exists for SQL 2000? thanks, Helmut
113
12349
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same algorithm work with strings that may or may not be unicode 3) Number of bytes back must either be <= number of _TCHARs in * sizeof(_TCHAR), or the relation between output size and input size can be calculated simply. Has to take into account the...
7
3870
by: Mark Rae | last post by:
Hi, Picking your collective brains again, this time regarding the storage of the key used in symmetric encryption. Let's say you have a requirement to add encryption to a C# project, so you might choose the TripleDESCryptoServiceProvider class: http://msdn2.microsoft.com/en-us/library/system.security.cryptography.tripledescryptoserviceprovider.aspx No worries - it doesn't present much of a challenge, the MSDN code samples
11
5049
by: John Williams | last post by:
I've written a simple program to do XOR encryption as my first foray into understanding how encryption works. The code compiles fine, however it segmentation faults on every run. using gdb to debug it let me narrow the problem down to the Cipher function I think it faults at line 84 or 85. The program makes it's first read/cipher/write pass without issue but the second pass kills it. Using gdb to print the variables left showed me the...
8
2744
by: manmit.walia | last post by:
Hello Everyone, Long time ago, I posted a small problem I had about converting a VB6 program to C#. Well with the help with everyone I got it converted. But I overlooked something and don't understand why it is doing this. Below is my code, I would be greatfull if someone can guide me through the right path or even help me solve this issue. Problem: The old tool which was written in VB6 works perfect. But I needed to convert this to C#...
19
3302
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash (md5) the password field using a random one-time salt (nonce) -- generated by php and pasted in the form -- that is then posted with the hashed password
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9997
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.