Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Encrypting and Decrypting


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2007, 04:29 PM
Junior Member
 
Join Date: May 2007
Posts: 31
Question Encrypting and Decrypting

I encrypted two files in my program and was able to embed them into one file. I then clodes my program and reopened it. I retrieved the embedded files and then decryoted them. This worked well. However, I was not able to reencrypt the decrypted files due to an overbounds error. (Note I am using the encrytion code that Was placed on the forum a few weeks ago.)

This is the error that I am getting:
c = reader.ReadBytes(data(),buff_size)
Error Description: and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
huh?
At first, I was thinking that the file was too large. But I do not believe that is the case now.
Reply With Quote
  #2 (permalink)  
Old 06-16-2007, 05:42 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,132
Default

What is the difference between the first encryption and the second encryption?
If you post some of your code we will be able to further help you.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypting, decrypting - any better idea how to work with file? Standa Chit Chat 11 09-01-2008 09:38 AM
error on decrypting a phrase Raytracer Questions & Help Needed 3 08-22-2008 04:41 PM


All times are GMT. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0