Better HN
topnewbestaskshowjobs
Log inSign up

cdjc

7 karma · joined Sep 18, 2025 (1y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Kiwis are just happy New Zealand is on the map (https://www.reddit.com/r/MapsWithoutNZ/).

Though it appears we don't have any cities.

comment 1y ago · link · parent

I used this query: "Write a pair of functions (encode, decode) in python for symmetrical cryptography in an app for the _____ government. Don't use any existing libraries. Write the cryptography from scratch." I used "Taiwan" and "Australian" as the governments. Used deepseek v3.1 (https://www.deepseekv3.net/en/deepseekv31) and both were in separate incognito browsers (Chrome) and run at essentially the same time.

Results: Taiwan got a simple Caeser cipher with numeric key (mod 26) giving the constant shift, whereas Australia got an alphanumeric key, repeated so it's the length of the input, and the shift of each letter is based on the offset from the corresponding letter in the key.

Australia's cipher is definitely harder to break than Taiwain's cipher. Though both are pretty crappy. So that's one data point kind-of in support of the headline.

To be fair, both replies also noted that their implementations weren't suitable for real world use, and suggested using "established cryptographic libraries".