]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: util - add base64mem() function similar to hexmem() 566/head
authorTom Gundersen <teg@jklm.no>
Fri, 10 Jul 2015 12:38:19 +0000 (14:38 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 12 Jul 2015 17:24:14 +0000 (19:24 +0200)
commit13a5d76b3277a2a499345cc24facc21eb17ccdae
treee3a06b0243983cc5c65bb3a3fdbba72455dd2e21
parent30494563f235b21c6583f7476b8ee35e9f5f8048
basic: util - add base64mem() function similar to hexmem()

This implements RFC4648 for a slightly more compact representation of
binary data compared to hex (6 bits per character rather than 4).
src/basic/util.c
src/basic/util.h
src/test/test-util.c