Move previous cryptopals work into an Erlang subfolder, start cryptopals in Python 3
[sandbox] / cryptopals-erlang / 01.01 / hex_to_base64.erl
diff --git a/cryptopals-erlang/01.01/hex_to_base64.erl b/cryptopals-erlang/01.01/hex_to_base64.erl
new file mode 100644 (file)
index 0000000..57b69af
--- /dev/null
@@ -0,0 +1,4 @@
+-module(hex_to_base64).
+-export([hex_to_base64/1]).
+
+hex_to_base64(Hex) -> base64:encode_to_string(hex:decode(Hex)).