added functionality to split plaintext/key (preliminary)