Return-Path: william@bourbon.usc.edu Delivery-Date: Sat Nov 8 07:56:48 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mA8Fumvc002569 for ; Sat, 8 Nov 2008 07:56:48 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mA8FpCPd009236 for ; Sat, 8 Nov 2008 07:51:12 -0800 Message-Id: <200811081551.mA8FpCPd009236@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: FInal Project Date: Sat, 08 Nov 2008 07:51:12 -0800 From: Bill Cheng Someone wrote: > In the file metadata, the SHA1 for the filename will always remain the > same right? The SHA1 value for a file is just that SHA1 hash of the file content. If the file content does not change, the SHA1 value should not change. > Also to get the nonce for a file, is this the following > way to do it > > 1)generate a random 20 byte SHA1 value > 2)compute the SHA1 value of the value generated above If you are initiating a STORE, then yes. What you generate in (1) is the one-time password. -- Bill Cheng // bill.cheng@usc.edu