문제

does anyone know how the sha1 sum in wikipedia dumps is build? I just found: "These contain information like the sha1 sum of each revision text..." (http://meta.wikimedia.org/wiki/Data_dumps/Dump_format)

But when I try to calculate the sum of any revision text, I never get the same sum. So I thought maybe there is something more influencing this value. I took all the text between the "text"-tags. Thanks

도움이 되었습니까?

해결책

The sha1sum is converted from an hex- to a base36-number and it is just the revisiontext between the <text></text> -tags. Thanks to MaxSem!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top