Click here to Skip to main content
15,902,635 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Caculate time left for data transfer Pin
Luc Pattyn17-Feb-09 6:32
sitebuilderLuc Pattyn17-Feb-09 6:32 
GeneralRe: Caculate time left for data transfer Pin
cdpace17-Feb-09 11:30
cdpace17-Feb-09 11:30 
GeneralRe: Caculate time left for data transfer Pin
Luc Pattyn17-Feb-09 13:51
sitebuilderLuc Pattyn17-Feb-09 13:51 
AnswerRe: Caculate time left for data transfer Pin
Leonardo Muzzi17-Feb-09 9:12
Leonardo Muzzi17-Feb-09 9:12 
Questionthinning algorithm Pin
Swati Khanna17-Feb-09 1:40
Swati Khanna17-Feb-09 1:40 
AnswerRe: thinning algorithm Pin
riced17-Feb-09 2:33
riced17-Feb-09 2:33 
AnswerRe: thinning algorithm Pin
Andrew Kirillov5-Mar-09 0:49
Andrew Kirillov5-Mar-09 0:49 
QuestionAES Rijndael Cryptography fails Pin
Leonardo Muzzi16-Feb-09 10:16
Leonardo Muzzi16-Feb-09 10:16 
Hi. I'm currently using AES Rijndael cryptography throught my system. Actually, I was making some tests and found an error. The thing is, when I try to encrypt/decrypt some specific texts, I loose some data in the end of the resulting string. For instance:

15ª Instância
13º lugar ªªAB

The above text, when encrypted/decrypted, results in loosing the two lasts chars "AB". I made some tests and figure out that any 4 characters after the "ªª" are lost. If you put 5 characters ("ABCDE"), then a new data block is created by the algorithm to seize the last letter and nothing is lost.

Aparently it has something to do with the "ª" and "º" characters. If the last block of information (a block has 16 chars, 128 bits, in Rijndael) has any of these special chars, then the last chars of the block are lost in the roundtrip. If there is "ª" or "º" in a block that is not the last one, then everything runs fine.

I'm using the code provided in MSDN site:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged.aspx[^]

and padding the string block myself (using PaddingMode.None in Rijndael object). Does anyone knows why these special chars causes this error?
GeneralRe: App fails to use AES Rijndael Cryptography correctly? Pin
Luc Pattyn16-Feb-09 10:41
sitebuilderLuc Pattyn16-Feb-09 10:41 
AnswerRe: App fails to use AES Rijndael Cryptography correctly? Pin
Leonardo Muzzi17-Feb-09 3:13
Leonardo Muzzi17-Feb-09 3:13 
QuestionCreating graph of file usage in build tree Pin
Adam Dare13-Feb-09 3:38
Adam Dare13-Feb-09 3:38 
AnswerRe: Creating graph of file usage in build tree Pin
ky_rerun24-Feb-09 15:16
ky_rerun24-Feb-09 15:16 
GeneralRe: Creating graph of file usage in build tree Pin
Adam Dare24-Feb-09 18:35
Adam Dare24-Feb-09 18:35 
GeneralRe: Creating graph of file usage in build tree Pin
ky_rerun24-Feb-09 20:24
ky_rerun24-Feb-09 20:24 
GeneralRe: Creating graph of file usage in build tree Pin
Adam Dare25-Feb-09 4:13
Adam Dare25-Feb-09 4:13 
Questionerror correction Pin
Deresen12-Feb-09 2:02
Deresen12-Feb-09 2:02 
AnswerRe: error correction Pin
Ravadre12-Feb-09 4:44
Ravadre12-Feb-09 4:44 
GeneralRe: error correction Pin
Deresen12-Feb-09 5:07
Deresen12-Feb-09 5:07 
GeneralRe: error correction Pin
Ravadre12-Feb-09 6:45
Ravadre12-Feb-09 6:45 
AnswerRe: error correction Pin
Arash Partow12-Feb-09 12:04
Arash Partow12-Feb-09 12:04 
GeneralRe: error correction Pin
Deresen12-Feb-09 21:04
Deresen12-Feb-09 21:04 
AnswerRe: error correction Pin
Arash Partow13-Feb-09 1:14
Arash Partow13-Feb-09 1:14 
GeneralRe: error correction Pin
Deresen13-Feb-09 1:54
Deresen13-Feb-09 1:54 
AnswerRe: error correction Pin
supercat912-Feb-09 12:46
supercat912-Feb-09 12:46 
QuestionStrings issue... Pin
ventomito10-Feb-09 8:25
ventomito10-Feb-09 8:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.