Google Answers Logo
View Question
 
Q: eVB CryptoAPI Source Code ( No Answer,   0 Comments )
Question  
Subject: eVB CryptoAPI Source Code
Category: Computers > Programming
Asked by: skipfire-ga
List Price: $25.00
Posted: 12 Aug 2002 12:14 PDT
Expires: 19 Aug 2002 06:38 PDT
Question ID: 53708
What is the "Embedded Visual Basic" source code necessary to use the
RSABASE.DLL CryptoAPI functionality to encrypt a string?
Answer  
There is no answer at this time.

The following answer was rejected by the asker (they received a refund for the question).
Subject: Re: eVB CryptoAPI Source Code
Answered By: maniac-ga on 12 Aug 2002 20:08 PDT
Rated:1 out of 5 stars
 
Hello skipfire,

I will answer your question by providing references to libraries,
sample applications, and a couple of books that describe the use of
the CryptoAPI in more detail.

Libraries and sample applications:

http://www.cryptovb.com/books/bondi/bondi_links/bondi_links.html

Lists the following items that should interest you...
 - WCCO (Wiley CryptoAPI COM Objects), an open source library that you
can use from Visual Basic to encrypt and descrypt information.
 - PDF manual on using the library
 - a "container manager", a complete application to display and manage
keys on your machine
 - a program to remove keys from the registry
and a number of other good links. You may also want to check out

http://www.openave.net

which hosts development, bug reporting, etc. of this package.

Windows CryptoAPI Basics

http://www.apress.com/article/articleDisplay.html?aID=12

On line article including source code.

The MSDN library

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cryptography_portal.asp

Microsoft reference material on the interface including C and Visual
Basic examples.

Books...

Cryptography for Visual Basic: A Programmer?s Guide to the Microsoft
CryptoAPI
Richard Bondi, September 2000, ISBN - 0471381896

A couple of Amazon reviewers of Bondi's book also recommended:
Applied Cryptography: Protocols, Algorithms, and Source Code in C, 2nd
Edition
by Bruce Schneier.

Good searches for this kind of information include phrases such as
  "Visual Basic" CryptoAPI

Ask for clarification if you need additional information on this
topic. Good luck on your work in this area.
  --Maniac

Request for Answer Clarification by skipfire-ga on 13 Aug 2002 04:35 PDT
I have checked those links and they all give information on how to use
the Cyrpto API in regular Visual Basic, but not Embedded Visual Basic,
and they are VERY different.  I have tried the regular VB commands in
eVB with no success.

Also, the openave.net link would not come up for me.

Clarification of Answer by maniac-ga on 13 Aug 2002 18:59 PDT
Hello skipfire,

Well, let's work through the possible causes and solutions to the
problem.

1. The object model in embedded Visual Basic is different / not
compatible with the examples in Visual Basic.

The first thing I would do is to get out the object browser and search
for likely terms such as crypto or rsa to determine if the object
model exists for this kind of processing. I do this all the time when
I have to work with Visual Basic in Excel, Word, etc. since I don't
use it enough to ever remember all the interfaces. If the objects
don't exist, then try one of the following problem solving ideas. If
the objects do exist, adapt the example code to fit the (new) model.

2. Something isn't configured properly to include the crypto API. I
know Microsoft provides crypto capabilities on the platform (it is a
part of the pocket browser), so it *should* be available. The
documentation I looked at is pretty meager so it is likely that the
setup of the platform is missing some key component. As a first try -
enable *everything* and if you can make progress, then remove items in
a methodical manner until it breaks again and you isolate the required
components. If not, try #3.

3. If enabling everything in #2 doesn't work, there are some
commercial alternatives that provide encryption on embedded platforms.
One such product is part of "Ink Tools" at...

http://www.ecomaus.com/Support/Manuals/Inktools26/InkTools.html#5.0%20%20InkSentry

which describes a couple different methods for encryption and
describes objects that should be accessible from Visual Basic. They
also appear to provide some level of support.

If these don't work, I can do some more thorough digging if necessary.
If you have some specific symptoms (exact messages please) that you
can describe in a clarification request, that would help isolate the
specific cause as well. There are plenty of sites that describe work
using Embedded Visual Basic, describing the pitfalls they ran into,
and so on, but none describe using encryption in their applications
(other than ecomaus above). One obvious class project mentioned this
as a "next step", but without any guidance.

About openave - I did some checking, it appears that web site (and its
name space server at openestate.net is dead). I will check w/ the WCCO
author to see if he has a new location for the open source support,
otherwise I would contact him directly for some guidance.

  --Maniac
Reason this answer was rejected by skipfire-ga:
The answer and clarification I recieved did not answer my question.  I
was looking for source code on how to do something, not an
off-the-shelf package.  All of the other suggestions were dead-ends
that did not help answer the question. It seems the answerer may know
a fair amount about PCs, but not about Pocket PC programming which is
what my question was about.
skipfire-ga rated this answer:1 out of 5 stars
The first answer ignored all of the critical pieces of the question. 
The clarification did not give me any useful information, nor did it
help answer the initial question.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy