On Tue, Jun 19, 2012 at 6:23 AM, Tjerk Meesters
<[email protected]> wrote:
> On 19 Jun, 2012, at 2:24 PM, Adam Jon Richardson <[email protected]> wrote:
>>
>> One thing I'm wondering about is whether the last parameter could be
>> changed from:
>> raw_output = false
>>
>> To something like:
>> output = "hex" (also allowing output = "raw", output =
>> "base64")
>>
>
> That wouldn't be consistent with the rest of the hash_ family though :)
I agree that keeping the API consistent throughout the hashing family
should be a priority. That said, this function signature is quite
different from the other hash functions. Additionally, the practical
value of this function relates specifically to password storage, and
giving the developer easy, efficient access to more compact storage
strings would likely prove helpful.
Adam