    void caeser_shift(char* text, int key)
    { while (*text) { *text = (*text + key-' ') % ('~'-' '+1) + ' '; text++;} }
    
    int main(void)
    {
    	char plaintext[] = "~~~Hello World this is a simple text";
    	
    	caeser_shift(plaintext, 1);
    	
    	printf("%s\n", plaintext);
    	
    	return 0;
    }