Points: 30

Tags: crypto 

Poll rating:

flag="*********"
def RabinKarpRollingHash( str, a, n ):
result = 0
l = len(str)
for i in range(0, l):
result += ord(str[i]) * a ** (l - i - 1) % n
print "result = ", result
RabinKarpRollingHash(flag, 256, 10**30)

output is
1317748575983887541099
What is the flag?

Writeups

ActionRatingAuthor team
Read writeup
0
No Internet Access
Read writeup
0
BalalaikaCr3w
Read writeup
0
anonym
Read writeup
0
r3b00+
You need to authenticate and join a team to post writeups