add base64url encoding option
This commit is contained in:
parent
8991fe1a69
commit
a91be306b1
3 changed files with 39 additions and 30 deletions
4
encode.h
4
encode.h
|
@ -2,9 +2,9 @@
|
|||
#define HEADER_ENCODE
|
||||
|
||||
int
|
||||
encode(unsigned char *op, int olen, unsigned char *sp);
|
||||
encode(unsigned char *op, int olen, unsigned char *sp, int url);
|
||||
|
||||
int
|
||||
decode(unsigned char *sp, int slen, unsigned char *op);
|
||||
decode(unsigned char *sp, int slen, unsigned char *op, int url);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue