Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

How can I get an sha1 hash in base32?
I know how to make a hash(using mhash), but instead of encoded as hex I
want it in base32 for use with the bitzi catalog. python-bitzi is useful
but way too slow for just getting the hash of a file(am going to use it
elsewhere). Thanks.

Elmo

Report this thread to moderator Post Follow-up to this message
Old Post
Elmo Mäntynen
07-25-05 01:57 AM


Re: How can I get an sha1 hash in base32?
In <pan.2005.07.23.20.26.33.959936@jippii.fi>, Elmo Mäntynen wrote:

> I know how to make a hash(using mhash), but instead of encoded as hex I
> want it in base32 for use with the bitzi catalog. python-bitzi is useful
> but way too slow for just getting the hash of a file(am going to use it
> elsewhere). Thanks.

Doesn't Bitzi calculate some kind of audio fingerprint?  Just a hash of
the file would result in very different hash values for different codecs,
bitrates etc. for the "same" audio data.

Ciao,
Marc 'BlackJack' Rintsch

Report this thread to moderator Post Follow-up to this message
Old Post
Marc 'BlackJack' Rintsch
07-25-05 01:57 AM


Re: How can I get an sha1 hash in base32?
On Sat, 23 Jul 2005 23:27:44 +0200, Marc 'BlackJack' Rintsch wrote:

> In <pan.2005.07.23.20.26.33.959936@jippii.fi>, Elmo Mäntynen wrote:
> 
>
> Doesn't Bitzi calculate some kind of audio fingerprint?  Just a hash of
> the file would result in very different hash values for different codecs,
> bitrates etc. for the "same" audio data.
>
> Ciao,
> 	Marc 'BlackJack' Rintsch

I don't think it does, but musicbrainz is designed for just that, and
there's a ptyhon binding for using the libs.

Elmo

Report this thread to moderator Post Follow-up to this message
Old Post
Elmo Mäntynen
07-25-05 01:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Python archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:55 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.