byrokrat / giroapp

Command line app for managing autogiro donations.
GNU General Public License v3.0
4 stars 2 forks source link

16 char mandate "hashes" using Hashids #19

Closed hanneskod closed 7 years ago

hanneskod commented 7 years ago

As promised. Here is my logic for creating mandate ids. If to be used this needs to be integrated into the Donor creation flow. I'm thinking something like a DonorBuilder.

nonbinary commented 7 years ago

This looks a lot better than using sha256. Since we know our key combinations are unique, and reverse-engineering shouldn't pose a security risk, this fits the purpose much better.

hanneskod commented 7 years ago

Cool. Mergeing.