Re: AES and Diehard

From: David A. Scott (daVvid_a_scott_at_email.com)
Date: 09/10/03

  • Next message: AAA: "Encrypting files"
    Date: 10 Sep 2003 00:43:58 GMT
    
    

    Mok-Kong Shen <mok-kong.shen@t-online.de> wrote in
    news:3F5E3134.3522B33D@t-online.de:

    >
    >
    > Danilo Gligoroski wrote:
    >>
    > [snip]
    >> I sugest you to try by yourself, and to see that it realy produces
    >> different encrypted files every time you encrypt a file with the same
    >> key.
    >
    > CBC is a well-known mode of block ciphers. Normally
    > an IV is supplied by the user. I have never known
    > before that a software 'automatically' (i.e. without
    > user's instruction) meddles with the IV. Anyway, could
    > you tell how the receiver is going to correctly decrypt,
    > since his computer presumably has other values of
    > 'timing' as the computer of the sender? Thanks.
    >
    > M. K. Shen
    >

       My god Mok how long have you been a pest on sci.crypt
    haven't you learned anything about crypto yet. CBC is one of
    the means of encryption the government likes you to use. You
    can start the decryption on any block in the file and use any IV
    your little heart feels necessary. After decrypting the first
    block wrong you get the rest correct. So in Gladmans code the
    first block used gets you back in synch. Its very basic stuff
    anyone with a half a brain and a little crypto knowledge would
    know.

    David A. Scott

    -- 
    My Crypto code
    http://cryptography.org/cgi-bin/crypto.cgi/Misc/scott19u.zip
    http://cryptography.org/cgi-bin/crypto.cgi/Misc/scott16u.zip
    http://www.jim.com/jamesd/Kong/scott19u.zip old version
    My Compression code http://bijective.dogma.net/
    **TO EMAIL ME drop the roman "five" **
    Disclaimer:I am in no way responsible for any of the statements
     made in the above text. For all I know I might be drugged.
    As a famous person once said "any cryptograhic
    system is only as strong as its weakest link"
    

  • Next message: AAA: "Encrypting files"

    Relevant Pages

    • Re: Need simple lib for asymetric encryption
      ... I would like to encrypt some data with key1 and decrypt it again with ... Public key crypto is abysmally slow. ... symmetric crypto to actually encrypt the data. ... your security. ...
      (sci.crypt)
    • RE: CryptDecrypt fails with NTE_BAD_DATA
      ... As Sylvain explained you are completely misusing the crypto. ... You ecnrypt the message with the SESSION Key iwth CryptEncrypt ... decrypt the message with the session key using CryptDecrypt ... I encrypt the data in chunks of 117 bytes that become 128 bytes. ...
      (microsoft.public.platformsdk.security)
    • Re: Need simple lib for asymetric encryption
      ... I would like to encrypt some data with key1 and decrypt it again with ... Public key crypto is abysmally slow. ... symmetric crypto to actually encrypt the data. ...
      (sci.crypt)
    • Re: CryptDecrypt fails with NTE_BAD_DATA
      ... crypto (if both sides XP than AES would be fine; ... You ecnrypt the message with the SESSION Key iwth CryptEncrypt ... decrypt the message with the session key using CryptDecrypt ... I encrypt the data in chunks of 117 bytes that become 128 bytes. ...
      (microsoft.public.platformsdk.security)
    • RE: NTE_BAD_DATA
      ... They are NOT used DIRECTLY to encrypt / decrypt data; ... you should generate a RANDOM SESSION KEY and select a SYMMETRIC ENCRYPTION ... // imported from a BLOB read in from the source file or having ...
      (microsoft.public.platformsdk.security)