projects
/
sandbox
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
cryptopals-erlang/01.01/hex_to_base64.erl
@@ -0,0
+1,4
@@
+-module(hex_to_base64).
+-export([hex_to_base64/1]).
+
+hex_to_base64(Hex) -> base64:encode_to_string(hex:decode(Hex)).