Dice369's blog

By Dice369, history, 4 months ago, In English

During string hashing I have been trying to use single hash only(learned recently), I just use coprime for base and mod. Can I get in trouble for not using double hash. Thanks in advance for any helpful reply

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes, single hashing is easy to hack during contest time!

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

You can use my pre-published template for Double Hash.