3 ms·
Is this the Barbie Enigma? https://en.wikipedia.org/wiki/Enigma_machine https://en.wikipedia.org/wiki/Enigma_machine
by jakzurr 4y ago
Is this the Barbie Enigma?
https://en.wikipedia.org/wiki/Enigma_machine https://en.wikipedia.org/wiki/Enigma_machine
- jacquesm 4y agoNothing quite that strong, it's just a substitution cypher, so there is a 1:1 correspondence between cypher text characters and plain text characters. This table is at the bottom of TFA: Standard characters Code abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 1 icolapxstvybjeruknfhqg;dzw >FAUTCYOLVJDZINQKSEHG<.1PB 523406789- 2 torbiudfhgzcvanqyepskx¢1w; RC>GHAPND<VUBLIKJETOYXM2QF 63405789-¨ 3 hrnctqlpsxwogiekzaufyd+b;¢ SARYO>QIUX<GFDLJVTHNP1Z3KC 7405689-¨§ 4 sneohkbufd;rxtaywiqpzl%c¢+ E>SPNRKLG1XYCUDV<HOIQ2B4JA 805679-¨§£ The most basic frequency analysis should allow you to crack the code even if you don't have the device or the keys.
- defrost 4y ago( [*] Note: May require frequency tables for Valley Girl and TextSpeak )
- sterlind 4y agofun fact: Juniper, Cisco and Arista passwords are "encrypted" like this when you list them in `show run`. it's designed to make shoulder surfing slightly harder, I guess? but like, you can also enter passwords in their encrypted form, so it really doesn't guard anything. and it causes operational screwups, since ops assumes it's actually encrypted and safe to share, when it's literally on par with Barbie typewriters.
- EvanAnderson 4y agoI can't speak to Juniper and Arista, but Cisco passwords are "encrypted" with various algorithms depending on the "type" entered (and capabilities of the device). Not all of the algorithms are terrible, though it's still a good idea to redact passwords when sharing configurations anyway. There's a good rundown here: https://media.defense.gov/2022/Feb/17/2002940795/-1/-1/1/CSI_CISCO_PASSWORD_TYPES_BEST_PRACTICES_20220217.PDF https://media.defense.gov/2022/Feb/17/2002940795/-1/-1/1/CSI...
- tgv 4y agoI'm not sure I quite understand. Why would the password (or something derived from it) be shown at all? Wouldn't a sequence of asterisks or a random string serve the same purpose?
- bombcar 4y agoBecause “show run” can basically be used to copy configs around iirc
- jeroenhd 4y agoNow I wonder how difficult it would be to replace the firmware to create an AES+base64 typewriter with a configurable key.
- arealaccount 4y agoWould be tough if you don’t know the output until the full message is complete
- jeroenhd 4y agoIn a block cipher you should be able to work with 256 bits at a time. You'd be typing 32 characters at a time (assuming ASCII) which get written out at once after you've somehow derived a secure key. It's not like you can get much feedback from the system in its weird encryption mode either as it's typing out garbage, unless you teach yourself to decode the message from the top of your head (but at that point you don't need the machine to encrypt for you).