Re: encryption/decryption

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Arvind (arvinds_at_erivasystems.com)
Date: 08/17/04


Date: Tue, 17 Aug 2004 10:06:57 +0530

your right im using the code from that URL..

i have basically 2 phases

1.desktop for encrypting (encrypting and decrypting is working perfectly
fine in win32 desktop application using VC++ samples)
a.inituser
b.encrypt from command line
c.decrypt from command line

2.pocket pc for decrypting..

but when i try to decrypt the encoded file from the pocket pc using the same
RC4 stream algorithm

i get the wrong output file

(instead of word "microsoft" im getting in some ascii characters)

i have used the inituser for initialising in desktop for storing and
generating
keys(Container)

but i couldnt find the same init user application for pocket pc

can i get one?

any thoughts on this will be a great help

--
Thanks
Arvind
--
"eRiva Systems" - Where Technology Meets Life, Every Minute.
arvindr@erivasystems.com
www.erivasystems.com
"Ozer Ozdemir [MS]" <ozero@online.microsoft.com> wrote in message
news:OfxnqB8gEHA.3844@TK2MSFTNGP10.phx.gbl...
> Are you using the code listed here:
>
msdn.microsoft.com/library/en-us/wcecrypt/html/csconsamplecodeencryptingfile
.asp
>
> What version and configuration are you running the test on? Does the app
> print out any error messages, or does it finish with an OK line? If you
can
> put breakpoints in the code and tell at what line the application fails,
the
> return code of the failing API, and the value of GetLastError, etc, that
> would help diagnosing the reason of the failure...
>
> --
> Ozer OZDEMIR
> Software Design Engineer / Test
> Microsoft Corp.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Arvind" <arvinds@erivasystems.com> wrote in message
> news:%23k$uiURgEHA.2536@TK2MSFTNGP09.phx.gbl...
> > Hello,
> >
> > im trying to use crypto API's in pocket pc (EVC++)
> >
> > to encrypt the WMV Files and decrypt the same.
> >
> > what i did is just copied the sample application which is provided in
the
> > help and tried to run in the pocket pc
> >
> > the application for encryption creates the destination file but the
> > content
> > are not added in that..
> > (File shows 0 BYTES)
> >
> > is there any other way around i have to try?
> >
> > plese let me know ur ideas..
> >
> > --
> > "eRiva Systems" - Where Technology Meets Life, Every Minute.
> >
> > arvindr@erivasystems.com
> >
> > www.erivasystems.com
> >
> >
>
>


Relevant Pages

  • Re: Encryption/Decryption HELP
    ... my guess is i dont have the inituser application to initialize password ... 1.desktop for encrypting (encrypting and decrypting is working perfectly ... but when i try to decrypt the encoded file from the pocket pc using the same ...
    (microsoft.public.pocketpc.developer)
  • Re: Crypto API
    ... my guess is i dont have the inituser application to initialize password ... 1.desktop for encrypting (encrypting and decrypting is working perfectly ... but when i try to decrypt the encoded file from the pocket pc using the same ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: encryption/decryption
    ... at pocket pc "client_decrypt" is not decrypting properly.. ... -- "eRiva Systems" - Where Technology Meets Life, ... > 1.desktop for encrypting > a.inituser ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Encryption/Decryption
    ... For encrypting / decrypting multiple files at once, ... >>> successfully, on the desktop, without Windows CE involved. ... The next> thing>>> to do is to build the "init user" app for Windows CE, and run it, and> see>>> if it succeeds. ...
    (microsoft.public.windowsce.app.development)
  • Re: Vigenere Cipher II - how to use files
    ... > Its my program for decrypting and encrypting text. ... so you'll need to check your documentation. ... Same answer as to the the first 'BTW' question. ...
    (comp.lang.c)