Re: programming advice, calculating a sha256 hash

Nathan Coulson <[email protected]>
Newsgroups gmane.linux.lfs.general
Message-ID <CAFvYhDBe94=w-NJFJTiWsV0Et47q6EggD97t90q5MXnu2XiiSA@mail.gmail.com>
On Tue, Jul 12, 2011 at 3:53 AM, [email protected]
<[email protected]> wrote:
> Can't you just use this, from coreutils?  Or re-use their code.
>
>
>
> knoppix@Microknoppix:~$ sha256sum --version
> sha256sum (GNU coreutils) 8.4
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Ulrich Drepper, Scott Miller, and David Madore.
> knoppix@Microknoppix:~$ echo -n '' | sha256sum
> e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  -
> knoppix@Microknoppix:~$

true, but this is more research then functionality.

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.