This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

base64 encoding

is there any function or library that can encode data using base64 encoding..? in nrf51422

Parents Reply
  • HI ulrich myhre i used the .h and .c files that you have privided to encode and then decode my data. the array to be encoded is {0x00 ,0x35 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x35}; after encoding i get this string "ADUAAAAAAAAA" and to check encoding when i pass this string to my decode function the result i got was wrong. it changed the 12th byte which is 0x35 to 0x00.then is shifted my 0x35 byte to every position in array and it only works upto 9th position.after that it converts 0x35 to 0x00.

Children
No Data
Related