|
|
Up |
|
|
  |
Author: UnruhUnruh
Date: Aug 23, 2006 09:27
"Ulf Reiman" gmail.com> writes:
>Tom St Denis skrev:
>> Ulf Reiman wrote:
>>>> Does it have to be invertible?
>>> A: No
>>
>> So you want a function which is a random mapping from the input to the
>> output and doesn't have to be invertible.
>>
>> This implies it isn't reproducible either.
>>
>> So therefore, the output does not have to be a function of the input.
>>
>> So why not just use any crypto PRNG and spew out 2 bits at a time?
>>
>> AES with a random key in CTR mode can do this.
>>
>> Tom
|
| Show full article (1.30Kb) |
|
| |
no comments
|
|
  |
|
|
  |
|
|
  |
Author:
Date: Aug 23, 2006 03:33
>in my quest to learn (by doing) cryptology how
You don't learn cryptology by doing, you learn by breaking.
Studying classical ciphers and how to break them may give your
cryptanalytic intuition a kick-start.
--
Kristian Gj
|
| |
|
no comments
|
|
  |
Author:
Date: Aug 23, 2006 03:28
>consider p = 3 , q = 5 , then n = 15 , n^2 = 225
>u said that g = n + 1 = 15 + 1 = 16 , lambda = lcm ( p-1, q-1) = lcm (
>2,4 ) = 2
lcm(2,4) is generally recognized to be 4 ...
--
Kristian Gj
|
| |
|
no comments
|
|
  |
Author: GaryGary
Date: Aug 23, 2006 00:33
Ok there is a comp at work to decrypt a stream of cyphertext for a case of
beer.
It's been years since I've played with cryptography, and I don't have the
time to re-learn the basics in a rush. Can anyone recommend a good tool for
doing a quick decrypt of a transposition cipher text?
|
| |
|
1 Comment |
|
  |
Author:
Date: Aug 22, 2006 23:50
Gregory G Rose qualcomm.com> wrote:
>He seems to be asking for encryption as well as
>signature (I'm not certain, some articles are
>missing from my server).
>
>Anyway, with ECC/ECDSA you will be able to encrypt
>something and also add a digital signature in
>4*keysize bytes (binary, you still have to
>multiply by 4/3 plus a character or two for the
>base-64 encoding). So, if you choose a 163-bit ECC
>system such as proposed in the relevant
>standards, you can do it all in 652 bits, for
>approximately the same security as a 2k-bit RSA
>key. The something needs to be smaller than 163
>bits, like a random AES key or something.
|
| Show full article (1.22Kb) |
|
no comments
|
|
  |
Author: Gregory G RoseGregory G Rose
Date: Aug 22, 2006 22:47
In article news.mc.ntu.edu.tw>,
Mike Amling nospam.com> wrote:
<> I've already learned, from this thread, that a 2048-bit RSA key is going
<> to result in a 2048-bit encrypted payload (for data sizes smaller than
<> the key size). My calculations, if not in error, tell me that even a
<> 1024-bit key will result in 128 bytes of encrypted data, which when
<> base64-encoded will be 4/3 that size or about 171 (172? rounded up?)
<> bytes in length.
<>
<> Elliptic-Curve encryption was something I'd mentioned in passing, but I
<> am not expert in the technology and so I do not know if it can produce
<> encrypted payloads small enough for our needs. I believe based on my
<> reading that its smaller key sizes are said to be roughly equivalent to...
|
| Show full article (1.60Kb) |
|
no comments
|
|
  |
Author: George AdamsGeorge Adams
Date: Aug 22, 2006 22:14
I only know some basics about SSL, symmetric keys and asymmetric keys,
and I'd greatly appreciate anyone who can shed some light on this question!
My understanding (and feel free to correct anything below here!) is that
SSL transactions between a web browser and a web server involve first a
handshake, then the actual data transmission. The handshake is handled
by a public/private key pair, then switches over to the symmetric key
(256-bit AES, 162-bit 3DES, or whatever) for the bulk of the data
transmission.
Now, it seems from what I've read that 128-bit symmetric keys are still
considered secure given the current state of computing power, and may
stay that way for a long time. But for asymmetric keys, 1024 bits is
considered by at least some to be getting into the realms of being
feasibly crackable. Longer keys (2048 bit, 3072 bit) are recommended
for data that needs to be protected for years to come.
|
| Show full article (2.38Kb) |
|
1 Comment |
|
  |
|
|
  |
Author: lokiloki
Date: Aug 22, 2006 17:48
Hi, I am trying to write a toy cipher and I am stuck at this point, I
do know that at this stage this cipher can be broken very easily as I
posted a challenge in a small forum. the key had a period of 47 and it
was only a matter of hours before it was broken and the plaintext
revieled.
could anyone point me in the right direction?
/* Baldr : an 8 bit block toy cipher
Version: 0.3
*/
/* Usage: baldr key input_file output_file */
/* includes */
#include
/* defines */
#define decrypt 100
#define encrypt 101
/* error codes */
#define BAD_FO "\n:: ERROR WRITING OUTPUT FILE ::\n"
#define BAD_FI "\n:: ERROR READING INPUT FILE ::\n"
#define BAD_KEY "\n:: ERROR READING KEY ::\n"
|
| Show full article (3.23Kb) |
|
7 Comments |
|
|
|
|
|
|