Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'difference,': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ought': 0.16; 'roy': 0.16; 'subject:Password': 0.16; 'subject:issue': 0.16; 'subject:security': 0.16; 'wrote:': 0.18; 'differ': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; '[1]': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'easier': 0.31; 'case,': 0.35; 'received:google.com': 0.35; 'next': 0.36; "i'll": 0.36; 'possible': 0.36; 'christian': 0.38; 'does': 0.39; 'sure': 0.39; 'how': 0.40; 'read': 0.60; 'more': 0.64; 'mar': 0.68; '600': 0.68; 'smith': 0.68; 'article': 0.77; 'passwords,': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ShGc9LIN8Q36eyHhY7EfdNE2UtVq1zJ1jHejtUiSgkk=; b=ewAp+VhGh97fl2w4bbtUXc72rCdJ5TM505uIHBgcvfS6CptccCw7IOGmMSYvbTpBuD /6BmL7Twb5MJnwDGbXkDsR6vXLQtewGY70IRDZatAy9RUBddjMTc3Dy8/ggRjVcmptnl R7VjD6X8dtKB13zTozyncINYROCdbAId3VNKTUXB0/XGTfetjyPgwWCZalQNOPwpKbSk i4FFbFw64hZu4XBkTmzZJUN6/sScIiHRxDcLCF3vGBLJF8pYmzCvHY5EeAEaQoDP2KWF v4OGqJgFnIJqjQ0lmP5cG69ruPwS8Q+uqSPmzHDFQsN8Wy/BbbEZy0+/ZBDGmhrClJ/O CYeg== MIME-Version: 1.0 X-Received: by 10.66.65.204 with SMTP id z12mr11229685pas.60.1393712005473; Sat, 01 Mar 2014 14:13:25 -0800 (PST) In-Reply-To: References: <09f43567-779e-4d01-8621-c4eb36354d99@googlegroups.com> Date: Sun, 2 Mar 2014 09:13:25 +1100 Subject: Re: Password validation security issue From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393712015 news.xs4all.nl 2840 [2001:888:2000:d::a6]:39640 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67380 On Sun, Mar 2, 2014 at 9:07 AM, Christian Heimes wrote: > On 01.03.2014 21:25, Roy Smith wrote: >> In article , >> Christian Heimes wrote: >> >>> With software like [1] and a fast GPU >>> it is possible to do more than 10*10^9 checks/second for SHA-256. >> >> Just out of curiosity, how does that differ from 10^10 checks/second? > > > I find 10 * 10^9 easier to read because it has more resemblance to "10 > billion". Next time I'll use the normalized scientific form 1.0e10. ;) I wasn't sure if it ought to have been 10^9 or 10^10. In any case, that makes only one order of magnitude of difference, and based on the way I generate passwords, that still leaves it at 60-ish years of GPU spinning. (It'd be 600 years at 10^9.) ChrisA