begin to add main crypt work (CBC,ECB)