Skip to main content
6 events
when toggle format what by license comment
Nov 23, 2019 at 16:39 vote accept ixe013
Nov 23, 2019 at 16:32 comment added Maarten Bodewes Yep, that sounds about right, I think you've got the gist.
Nov 23, 2019 at 13:50 comment added ixe013 So with b = 26^3*10^3, I would convert to base b, encrypt, and convert back to base b to get the encrypted value in the right "human readable" or "format preserved" format. This can be extended to support arbitratry alphabets, like Quebec medicare digits that hides the birth sex in month number (+50 if female, so alphabet for first digit of month is 0,1,5,6).
Nov 22, 2019 at 3:08 history edited Maarten Bodewes CC BY-SA 4.0
added 185 characters in body
Nov 22, 2019 at 2:59 history edited Maarten Bodewes CC BY-SA 4.0
added 1 character in body
Nov 22, 2019 at 2:39 history answered Maarten Bodewes CC BY-SA 4.0