jofell / hashids-objc

Hashids Implementation for Objective C
MIT License
31 stars 46 forks source link

The length of generated string is wrong #7

Open koromiko opened 8 years ago

koromiko commented 8 years ago

Bug: The problem is that the strings generated with minLength assigned are always with wrong lengths.

Solution I remove the variable start_pos from the second paremeter of NSRange to ensure the length is right.