2017-01-16 07:04:19 +00:00
|
|
|
/*
|
|
|
|
* File: base64.h
|
|
|
|
* Description: Simple BASE64 conversion methods
|
|
|
|
* Author: Ari Edelkind
|
|
|
|
* License: Public Domain
|
|
|
|
* Website: http://episec.com/people/edelkind/c.html
|
|
|
|
*/
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
#ifndef BASE64_H
|
|
|
|
#define BASE64_H
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
2019-01-22 11:47:11 +00:00
|
|
|
long base64_encode(char *to, char *from, unsigned int len);
|
|
|
|
long base64_decode(char *to, char *from, unsigned int len);
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* BASE64_H */
|