Cyberchef: Operation request: Add custom alphabet support to Atbash and Affine ciphers

Created on 9 Feb 2017  路  4Comments  路  Source: gchq/CyberChef

Summary

Add the ability to specify different alphabets for use with the Affine and Atbash cipher operations.

Possible solutions

The editableOption argument type could be useful. See 'To Base64' for an example of how this works. You could specify a few default alphabets (Latin, Hebrew etc.) whilst still allowing users to enter a custom alphabet of their choosing.

help wanted operation priority

All 4 comments

I still have a branch open on my fork of this repo. I've tried and I just can't get it to be reproducible for some reason - if someone wants to take a look, please, do go ahead.

Haven't pulled down your fork and experimented but my intuition is that representing alphabets as strings:

"讗讘讙讚讛讜讝讞讟讬讻诇诪谞住注驻爪拽专砖转"`

might make things more difficult / unpredictable when each letter is multiple Unicode bytes but instead store each "letter" (as opposed to the individual bytes) as an element in an array:

["砖" ,"转"...]

_Disclaimer: I have absolutely no knowledge of any alphabets other than the latinate English one._

The language being written right to left is causing me a whole world of trouble, now that I've had time to work on it again. I can't even seem to make an array of it display properly without killing my terminals or editors.

Want help from an Israeli with the knowhow of getting VIM to edit right-to-left and all? Drop me a note with the branch in question and I'll take a look. Alternatively, use a terminal (non-GUI) editor and you should be fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nmantani picture nmantani  路  3Comments

thejoker3000 picture thejoker3000  路  3Comments

danielzgtg picture danielzgtg  路  4Comments

n1474335 picture n1474335  路  6Comments

Neo23x0 picture Neo23x0  路  4Comments