generating tables for encryption & decryption; debug identities