wierkstudio / ciphereditor

Web app for cryptography, coding and data encouraging beginners and pros alike to explore new operations and build own workflows.
https://ciphereditor.com
MIT License
109 stars 22 forks source link

Feature: Decode Text to Binary #34

Open CodeSpoof opened 7 months ago

CodeSpoof commented 7 months ago

Describe your feature or enhancement suggestion

Currently it's only possible to encode Binary to Text not the other way.

Describe a concrete use case

Analyze .onion addresses, since they are base32 encoded and contain public key and checksum.

ffraenz commented 7 months ago

Hi @CodeSpoof! In most operations available on ciphereditor you can feed in values the other way round for decoding or decryption. In the case of the "Binary to text encoding" operation, change the value of the "Encoded Data" control and you will see the result appear in the "Data" Control. Does that work for you?

jphastings commented 1 month ago

I had the same confusion when I first used your tool — there's something about the UI that makes it hard to recognise that you can run each block either way. Perhaps even a purely cosmetic "flip" button for blocks that swaps the top and bottom fields would give new users enough confidence that blocks don't run "top to bottom" (which was my assumption).

ffraenz commented 1 month ago

Yes, I thought of that as well, this is how it is currently being done on cryptii, having the encode/decode or encrypt/decrypt toggle button.