Click here to Skip to main content
15,920,896 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Is it possible to get a formula Pin
cp987625-Oct-07 13:32
cp987625-Oct-07 13:32 
GeneralRe: Is it possible to get a formula Pin
Rama Krishna Vavilala25-Oct-07 13:39
Rama Krishna Vavilala25-Oct-07 13:39 
GeneralRe: Is it possible to get a formula Pin
cp987625-Oct-07 14:08
cp987625-Oct-07 14:08 
AnswerRe: Is it possible to get a formula Pin
Luc Pattyn25-Oct-07 13:50
sitebuilderLuc Pattyn25-Oct-07 13:50 
GeneralRe: Is it possible to get a formula Pin
Rama Krishna Vavilala25-Oct-07 14:13
Rama Krishna Vavilala25-Oct-07 14:13 
AnswerRe: Is it possible to get a formula Pin
schoetbi26-Nov-07 10:54
schoetbi26-Nov-07 10:54 
QuestionIf encryption input is small [modified] Pin
Cryptogrpahy24-Oct-07 9:52
Cryptogrpahy24-Oct-07 9:52 
AnswerRe: If encryption input is small Pin
El Corazon24-Oct-07 10:26
El Corazon24-Oct-07 10:26 
Bimbaa wrote:
If it is only given a small input (one byte) for encryption


Then you should pack it into a full block output, regardless. Most algorithms will output based on block size, not bytes. So a one byte file might still come back as a 16 byte output simply because of the block size.

If you have a single byte and try to output as a single byte, you are already in trouble. If your keys are small such that brute force is fast, you still have a problem. You want long keys and a method of creating a block size output and still restore to original size after decryption.

If it is easy with one byte, chances are your algorithm is also too easy.

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 11:10
Cryptogrpahy24-Oct-07 11:10 
GeneralRe: If encryption input is small Pin
El Corazon24-Oct-07 11:26
El Corazon24-Oct-07 11:26 
GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 12:36
Cryptogrpahy24-Oct-07 12:36 
GeneralRe: If encryption input is small Pin
El Corazon24-Oct-07 12:49
El Corazon24-Oct-07 12:49 
GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 13:05
Cryptogrpahy24-Oct-07 13:05 
GeneralRe: If encryption input is small Pin
El Corazon24-Oct-07 13:08
El Corazon24-Oct-07 13:08 
GeneralRe: If encryption input is small Pin
Cryptogrpahy24-Oct-07 13:20
Cryptogrpahy24-Oct-07 13:20 
AnswerRe: If encryption input is small Pin
Jeffrey Walton29-Oct-07 2:55
Jeffrey Walton29-Oct-07 2:55 
GeneralThanks for Jeff Pin
Cryptogrpahy29-Oct-07 4:30
Cryptogrpahy29-Oct-07 4:30 
QuestionCritiques of measurements for the cryptography Pin
Cryptogrpahy24-Oct-07 4:36
Cryptogrpahy24-Oct-07 4:36 
AnswerRe: Critiques of measurements for the cryptography Pin
El Corazon24-Oct-07 5:41
El Corazon24-Oct-07 5:41 
GeneralRe: Critiques of measurements for the cryptography Pin
Cryptogrpahy24-Oct-07 9:34
Cryptogrpahy24-Oct-07 9:34 
GeneralRe: Critiques of measurements for the cryptography Pin
El Corazon24-Oct-07 10:21
El Corazon24-Oct-07 10:21 
GeneralRe: Critiques of measurements for the cryptography Pin
CPallini24-Oct-07 21:26
mveCPallini24-Oct-07 21:26 
Questionbarcode algorithm Pin
memaia23-Oct-07 22:19
memaia23-Oct-07 22:19 
AnswerGoogle Pin
CPallini23-Oct-07 22:32
mveCPallini23-Oct-07 22:32 
QuestionLogic for Billing Pin
briogene21-Oct-07 21:07
briogene21-Oct-07 21:07 

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.