From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vANCz2rrAaHL for ; Sun, 7 Oct 2012 22:53:46 +0200 (CEST) Received: from v4.tansi.org (ns.km33513-03.keymachine.de [87.118.94.3]) by mail.saout.de (Postfix) with ESMTP for ; Sun, 7 Oct 2012 22:53:45 +0200 (CEST) Received: from gatewagner.dyndns.org (84-72-142-78.dclient.hispeed.ch [84.72.142.78]) by v4.tansi.org (Postfix) with ESMTPA id 21F961404001 for ; Sun, 7 Oct 2012 22:53:45 +0200 (CEST) Date: Sun, 7 Oct 2012 22:53:44 +0200 From: Arno Wagner Message-ID: <20121007205344.GA6260@tansi.org> References: <5071DD16.8030301@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5071DD16.8030301@gmail.com> Subject: Re: [dm-crypt] Query on validating cryptsetup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sun, Oct 07, 2012 at 09:50:46PM +0200, Milan Broz wrote: > On 10/03/2012 07:28 PM, Abhishek Tiwari wrote: > > I am trying to use cryptsetup for an SD card. I create the crypto > > mapper device and write a file to it. For the purpose of validation, > > I am using a fixed key "11111111" as passphrase. Then I tried to see > > the contents of this SD card using a reader and WinHex. Unfortunately > > these contents do not match with an encrypted copy of same file that > > was encrypted using this online DES encryption tool: > > http://www.tools4noobs.com/online_tools/encrypt/ I specified > > algorithm as DES and mode as CBC. > > Well, if it is real use, never use DES, it is no longer secure enough. Indeed. Known plaintext attack for DES is doable some hours now. I still remember when 56 bit DES was considered secure ;-) Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision. -- Bertrand Russell