[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: [GNU Crypto] Perhaps OT crypto question



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

>>>>> "Ben" == Ben  <orinjus@xxxxxxxxx> 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 || rsdio@xxxxxxxxxxxxxx
-----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-----


_______________________________________________
gnu-crypto-discuss mailing list
gnu-crypto-discuss@xxxxxxxxxx
http://mail.nongnu.org/mailman/listinfo/gnu-crypto-discuss

[Home]     [Gnu Classpath]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]     [Red Hat 9 Bible]     [Fedora Bible]     [Red Hat 9]     [Network Security Reading]

  Powered by Linux