add better implementations of ROT-N encr/decr