summaryrefslogtreecommitdiff
path: root/thirdparty/misc/base64.h
blob: 4c300382c1c962c2455a3798025874a688359b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * File: base64.h
 * Description: Simple BASE64 conversion methods
 * Author: Ari Edelkind
 * License: Public Domain
 * Website: http://episec.com/people/edelkind/c.html
 */

#ifndef BASE64_H
#define BASE64_H

extern "C" {

uint32_t base64_encode(char *to, char *from, uint32_t len);
uint32_t base64_decode(char *to, char *from, uint32_t len);
};

#endif /* BASE64_H */