ported ulmBlockCiphers.Mod