Commit c85a9ff5 authored by Marek Gera's avatar Marek Gera
Browse files

Update bmp.c

parent 6c0691d4
......@@ -9,9 +9,7 @@ unsigned char* bit_encrypt(const char* text){
if(text==NULL || strlen(text)==0)
return NULL;
unsigned char* desttext = (unsigned char*)calloc(strlen(text)+1,sizeof(char));
for(int i=0;i<strlen(text);i++){
desttext[i]=text[i];
}
strcpy(desttext, text);
// prepisanie znaku do dvojkovej sustavy
int z=0;
do{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment