gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU Crypto] Perhaps OT crypto question


From: Casey Marshall
Subject: Re: [GNU Crypto] Perhaps OT crypto question
Date: Fri, 06 Feb 2004 05:25:35 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Ben" == Ben  <address@hidden> writes:

Ben> Maybe this is the wrong place for this question, but here goes:
Ben> Say I have some data d.  I have a symmetric block cipher like
Ben> Blowfish that encrypts the data such that e = b(d, k) with k
Ben> being the key, d the original data, and e the encrypted data.
Ben> Now I have a hash function like SHA that takes the hash of the
Ben> encrypted data like this h = s(e) or h = s(b(d, k)).  Now,
Ben> assuming that an attacker can see only the data (d) and the hash
Ben> of the encrypted data (h or s(b(d, k))).  Would my key (k) be
Ben> secure?

Looks like. Is this a MAC? If so there are constructions as secure as
this but more useful.

- -- 
Casey Marshall || address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFAI5WEgAuWMgRGsWsRAj0DAJ4tXOVIrP67iH7Bb9mpYjsyy5Hq6QCeKm4Y
NiPaUPfeb4mjkXKJ+COuK5M=
=0upZ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]