sha1 Hash!
With ID3() you can automatically hash an mp3 file (the whole file) with md5 ... Would be cool if it could give back the sha1 hash for the whole file :)
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
Re: sha1 Hash!
As of 1.7.0b1, support for whole file md5sum is removed. Use md5_file() instead. If you use an old version of PHP under linux, use getid3_lib::md5_file() instead.Anonymous wrote:With ID3() you can automatically hash an mp3 file (the whole file) with md5 ... Would be cool if it could give back the sha1 hash for the whole file :)
Likewise, the sha1 hash for the whole file can be calculated with sha1_file().
But if you are interested in sha1 hashes for the data part, then we could easily implement it.
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark