Questions tagged [base64]

Base64 is an encoding scheme (with some variations in the presentation) that represents binary data in an ASCII string format.

Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Hex string to Base64

The base64 decode algorithm is taken directly from Base64 wiki page. This exercise is meant to help me learn Rust, so any pointers in that general direction are very welcome. :) ...
4
votes
1answer
1k views

Convert hex to base64, part 2

Original question Reimplemented solution following JS1's answer. Changed bit string hack to bitwise operations to get the corresponding base64 index values. ...
2
votes
1answer
3k views

Matasano Cryptopals Challenge 1: convert hex to base64

Cryptopals challenge 1 Using binary strings to convert from hex to binary felt kinda hacky. I'd like to hear if there are better ways to do that. I used memcpy() ...
2
votes
1answer
265 views

Convert hex to base64 (Cryptopals challenge 1)

I've been spending some time learning Rust and I came across the Cryptopals Challenges. This is my implementation of challenge 1 Convert hex to base64 The string: ...