Symmetric key 2

Please, review the changes for symmetric encryption and decryption.

This pull request fixes some problems with the last version and also deals with the ICSF's limitation that requires that data sent to the encryption or decryption service should always be multiple of block size.