Add method to mix input string with IP (encrypt)

Signed-off-by: Antti-Ville Jokela <jokela.anttiville@gmail.com>