Boost logo

Boost :

Subject: Re: [boost] How to retrieve original string back from hashed string using string_hash()?
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2010-06-07 08:08:35

On Mon, 7 Jun 2010 01:01:17 -0400, "Tiwari, Sumit [Tech]"
<Sumit.Tiwari_at_[hidden]> wrote:
> Hi,
> I can hash a string using string_hash(), is there any function available
> to get back the string value back by supplying hash value?

First, such a question would be more appropriate at boost-users.

That said, no. Almost by definition, a hash function is destructive, and
there's no way to recreate the original data.


Boost list run by bdawes at, gregod at, cpdaniel at, john at