Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hex to Base64 gives wrong output #46

Closed
arapoport opened this issue Jun 2, 2019 · 7 comments
Closed

Hex to Base64 gives wrong output #46

arapoport opened this issue Jun 2, 2019 · 7 comments

Comments

@arapoport
Copy link

Hi!

Hex to base64 is not working properly...

Hex input: A1 23
Base64 output: 6oSj
Base64 expected output: oSM

Base64 should also be shorter on any number greater than FF because hex is base 16 and has fewer digits for writing a number down.

@arapoport arapoport changed the title Hex to Base64 gives even longer number Hex to Base64 gives wrong output Jun 2, 2019
@ffraenz
Copy link
Member

ffraenz commented Jun 2, 2019

Hello @arapoport, I can't reproduce the issue you describe. I get the expected result back. Which browser did you use? Can you attach a screenshot of the pipe you composed? Thank you!

@arapoport
Copy link
Author

I am using the web-app in Firefox 67.0: https://v2.cryptii.com/hexadecimal/base64

image

@arapoport
Copy link
Author

Same in Chrome. But this webapp works as expected: https://cryptii.com/pipes/base64-to-hex

@ffraenz
Copy link
Member

ffraenz commented Jun 2, 2019

You are referring to the old version of cryptii still residing under v2.cryptii.com. The Base64 implementation has been updated significally ever since. Please use the current implementation over at https://cryptii.com/pipes/hex-to-base64. I'll add a notice to the old version to avoid confusion.

@ffraenz ffraenz closed this as completed Jun 2, 2019
@arapoport
Copy link
Author

Ah, ok. Just for you to know: Google lists the old version as second match on the query "hex to base64" :-)

@ffraenz
Copy link
Member

ffraenz commented Jun 2, 2019

Indeed, I noticed that the 'Hex to base64' landing page was missing on cryptii.com and hence the older version stepped into the search results. Translation methods like Pigpen cipher and Leet speak still have no counterpart in the current version, that's why v2.cryptii.com is still available and being indexed. Thank you for the report!

@arapoport
Copy link
Author

No problem! And sorry for the confusion, I haven't noticed at first that there are multiple versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants