Remix.run Logo
▲ Wowfunhappy a day ago

I was kind of hoping this would be about an analog way to use the idea of TOTP to authenticate IRL. Like, you look at the date and/or time, perform some calculation simple enough for a child to do easily in their head, and then come up with a code you can provide and/or verify. If someone overhears, no problem.

I'm not sure an algorithm like this exists, but that was why I clicked.

Requiring everyone to have their phones is a non-starter IMO.

▲__MatrixMan__ a day ago | parent | next [-]

The algorithm could be:

2026-11-29 ... 2+0+2+6 + 1 + 1 + 2 + 9 = 23

So 23 is today's date seed. The secret is the function. So everyone in your family needs to be able to, for instance, multiply by two and then round down to the nearest multiple of three and subtract one. Given this example secret function, today's code is 44

If you want to verify in both directions, add something about the individual that the other would know. I'm 39 so maybe my code for today is 3449 and my niece is 11 so maybe her code for today is 1441.

It wouldn't resist statistical analysis, but is that really the threat model here anyway?

▲pryanshu89 a day ago | parent | prev [-]

How do you handle different timezone?

▲Wowfunhappy a day ago | parent | next [-]

A family would usually be in the same timezone. For edge cases, I guess you would use the timezone where most of the family lives? Children probably don't need to be taught this part, worst case scenario the adult adjusts for the child's timezone.

This feels to me like it's not the biggest problem. Coming up with a practical algorithm is.

▲thephyber a day ago | parent | prev [-]

Always convert it to UTC.

▲Wowfunhappy a day ago | parent [-]

Probably too difficult for a child to do in their head alongside other calculations.