added ecb encryption mode implementation