ciphereditor icon indicating copy to clipboard operation
ciphereditor copied to clipboard

Feature: Decode Text to Binary

Open CodeSpoof opened this issue 10 months ago • 3 comments

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.

CodeSpoof avatar Apr 08 '24 10:04 CodeSpoof

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?

ffraenz avatar Apr 08 '24 15:04 ffraenz

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).

jphastings avatar Sep 20 '24 08:09 jphastings

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.

ffraenz avatar Sep 20 '24 08:09 ffraenz