Re: [Cfrg] [Ext] Re: Analysis of ipcrypt?

Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> Sat, 24 February 2018 14:51 UTC

Return-Path: <jeanphilippe.aumasson@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECFC712706D for <cfrg@ietfa.amsl.com>; Sat, 24 Feb 2018 06:51:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eV8E8aU36i7Y for <cfrg@ietfa.amsl.com>; Sat, 24 Feb 2018 06:51:12 -0800 (PST)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 676811201FA for <cfrg@irtf.org>; Sat, 24 Feb 2018 06:51:12 -0800 (PST)
Received: by mail-qk0-x22c.google.com with SMTP id s188so14262559qkb.2 for <cfrg@irtf.org>; Sat, 24 Feb 2018 06:51:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f1OMjlf4fulXSRu6EBHXS3fX3jpIu7qU4XlTq0g+i9Q=; b=j7xQnvD115DFEDDWYDvTydfu5x7IYpTQcHbs9vRbpozbKjufdLdEfTYCZbhMnLAeG/ kUQ2frsO/1fKnpk1A6kGi7sFUlm95CntVR0BqZ2ixA4sRjsV11XjGvxoHG8nC2t6VtcT qeLbPJtxC3Z/5otWUlUqkbdN/MARdzLPUHo5mGf+SLs51wOZF5iVsoQ35c2sWBqrb3vM /tLrHakKCi9esQ31xTWzbm35yagIJwiE86AezZxmli04zF6S3ZCb5dbdtz3XL/Za2dSx iUT33rbcLZOifgkyc6oHT0zXjpgmxOSBYaRh45OoipkIskwdLyxDbFf5cMEhywj0tfR3 eO7w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f1OMjlf4fulXSRu6EBHXS3fX3jpIu7qU4XlTq0g+i9Q=; b=NEbp+drzbFOMlgFo65iBiz1jBEhqrzTK8wwgUMv7VvxBar9258wwu3WY0IX84SOllm Mty7MqBZwthB40Ei+huf6l9uosfG6Thx/YrnSnqpokXHR/txL9ZE//fmeJFgAHKBgEW1 neZaUCaMeD1Yb5XhgEqEuys7CiaTXq8OdGqNnWSBqYpkCjoxipYgrxWKfaMaB4aIwXrt imPOLGPlVgwwqGQJ7Uqq4HfWY+6zGHcoJN3RVwuasXyxXU4W0UlSnVT1KhZyTvjh89aR XqFxtLnVnTo4hanZ4+di0//gERrf/ZoI9mHmzpWvQp2fglgfQuBtjvU5kx5/eDNzuQpn 1fcg==
X-Gm-Message-State: APf1xPCyH+raG8RYSPmdqo/9do83+0in3fsetGLkAoSpRw1uZ0Vb6L22 VFy6isISXuaPQH1mv4mK1NHszbaN1Xlgbc1vDqE=
X-Google-Smtp-Source: AG47ELtHOKKOyRirMBe1sNMmfuCjOk6s4oW2WX8jX04nqbW/SSBhh4i/6UGOQRCz+J6EoBZvf0enCQml0IAPqqkPVyA=
X-Received: by 10.55.33.16 with SMTP id h16mr7850146qkh.284.1519483871426; Sat, 24 Feb 2018 06:51:11 -0800 (PST)
MIME-Version: 1.0
References: <18C83761-E442-45D9-BDBF-71DC7F751007@icann.org> <CAHmME9r3awwZxjEU-HWnOCyARhBx54VOcUOFJB4opmneKdZsyA@mail.gmail.com> <72BE956C-7D0F-41BE-88DE-C7C2063A7FED@seer-grog.net> <877er4h8n5.fsf@fifthhorseman.net> <149857F4-859F-45C8-AA6E-E1F72342B988@seer-grog.net> <A17CCC93-1AEE-47E3-B1A3-CA2791AA3AE0@icann.org> <6063D40B-F8A8-4C63-92EB-53EF4DB64975@cisco.com> <CAGiyFdddeUkqhMxQLH079syiHuV3KgY3_Ko2pVxYhjd+jEUMLA@mail.gmail.com> <E04CDD47-DCB3-456E-A8A6-EE93B63442B0@seer-grog.net>
In-Reply-To: <E04CDD47-DCB3-456E-A8A6-EE93B63442B0@seer-grog.net>
From: Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
Date: Sat, 24 Feb 2018 14:51:00 +0000
Message-ID: <CAGiyFdcsf=LJ22jfcDy41x=VBrXHkUbE+WadRnYTyY-sOTs4GA@mail.gmail.com>
To: Greg Rose <ggr@seer-grog.net>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Paul Hoffman <paul.hoffman@icann.org>, "David McGrew (mcgrew)" <mcgrew@cisco.com>
Content-Type: multipart/alternative; boundary="001a114064b065ff4c0565f66821"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ugJ90m_bHfIyIMho8k6QTx0eozQ>
Subject: Re: [Cfrg] [Ext] Re: Analysis of ipcrypt?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 24 Feb 2018 14:51:14 -0000

In my use case it had to be 1-to-1.
On Sat, 24 Feb 2018 at 15:41, Greg Rose <ggr@seer-grog.net> wrote:

>
> > On Feb 23, 2018, at 23:34 , Jean-Philippe Aumasson <
> jeanphilippe.aumasson@gmail.com> wrote:
> >
> > Seconding David. We're talking tokenization more than encryption. In the
> context where I created ipcrypt we just needed to obfuscate the PII data
> (such as IP addresses) in a deterministic and format-preserving way.
>
> Now I'm confused. Is there a requirement for invertability or not? The
> problem, if it isn't invertible, is that it will act as a hash, and you can
> expect collisions after only about 60k entries. Are there consequences to
> that?
>
> Greg.