X-Git-Url: https://code.kerkeslager.com/?p=sandbox;a=blobdiff_plain;f=cryptopals-erlang%2F01.01%2Fhex_to_base64.erl;fp=cryptopals-erlang%2F01.01%2Fhex_to_base64.erl;h=57b69af00490195cd720b5f8d3c4028ec5af97f8;hp=0000000000000000000000000000000000000000;hb=b37c633b0ba51e497920762fa2eb4d732ebca291;hpb=545381e1397107d4ab00d2e54d85d3e11d98e4f1 diff --git a/cryptopals-erlang/01.01/hex_to_base64.erl b/cryptopals-erlang/01.01/hex_to_base64.erl new file mode 100644 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)).