Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.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.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'subject:code': 0.07; 'already.': 0.09; 'long)': 0.09; '12:57': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'variable': 0.20; 'received:209.85.214.174': 0.21; "i'd": 0.22; 'header:In-Reply- To:1': 0.25; 'dos': 0.27; 'message-id:@mail.gmail.com': 0.27; 'probably': 0.29; 'usually': 0.30; 'true.': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'expensive': 0.36; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'maximum': 0.63; 'more': 0.63; 'jul': 0.65; 'transfer': 0.76; 'limits,': 0.84 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:to :content-type; bh=ieBinT7njTIZdVlfmyuv5K7dw3z8gBwSGm6GGZ6QzWo=; b=LIZgcXydv3VHxvVehW8IEkEueisvwvzwYbuLfVQndrohYzyW1T0UgRX2adlldbUsbF nDzqcTQ6FEUnnFys3WiI2+ayZXFLk+sdK6SI+OIq6qJSnMRYhvsh62q9eaCN0toUFp7H BafHGLKw7gWcrhG4aqifhFtk/+eec+XkDFVEd1CtcO7xwzDxJWA8Ctf2lsBmhWQF3nyS o+xZbhXVAxwvUzp3L7kpRls82yenbzXV3pw0J4uGeR+wxXz/GX+ZGijhMypPqggxtLOs sKbHvW2uYPqBpL82sBzGUJk4jITY6jtbFLANzlPENk2KOGiVQLBtlqjOVv95cE6VUMI1 N8yQ== MIME-Version: 1.0 In-Reply-To: <16ab546d-79e8-4d9a-9f8b-a28494d885f7@email.android.com> References: <6c39594f-79cb-4d4f-967e-bbc3f68cdbdf@f8g2000pbf.googlegroups.com> <4fed59b7$0$29978$c3e8da3$5496439d@news.astraweb.com> <16ab546d-79e8-4d9a-9f8b-a28494d885f7@email.android.com> Date: Wed, 4 Jul 2012 13:53:57 +1000 Subject: Re: code review From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341374040 news.xs4all.nl 6949 [2001:888:2000:d::a6]:52048 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24846 On Wed, Jul 4, 2012 at 12:57 PM, wrote: > Well, if you waited until you had the password (however long) in a variable before you applied your maximum limits, the DoS ship has probably sailed already. Only because data transfer is usually more expensive than hashing. But I'd say that'll always be true. ChrisA