c语言实现的base64加解密程序
#include <iostream>
#include <string.h>
#include <stdio.h>
#include <math.h>
int* barrs(int temp1){
int temp[6] = {
0};
int temp3 = 5;
while(temp1 != 0){
temp[temp3] = temp1 % 2;
temp1 = temp1 / 2;
temp3--;
}
return temp;
}
int* barr(int temp1){
int temp[8];
int temp3 = 7;
while(temp1 != 0){
temp[temp3] = temp1 % 2;
temp1 = temp1 / 2;
temp3--;
}
return temp;
}
int main(int argc, const char * argv[]) {
char base64[64] = {
'A','B','C','D','E','F','G','H',
'I','J','K','L','M','N','O','P','Q','R','S','T','U',
'V','W','X','Y','Z','a','b','c','d','e','f','g','h'
,'i','j','k','l','m','n','o','p','q','r','s',