Added support for ECB mode

Sep 23, 2014 at 11:40 PM
Although I am not sure how practical it would be, I added support for ECB, limiting the plaintext to up to 15 bytes of data (+1 byte for padding) in order to make sure there is only one block of ciphertext.

I guess this mode may be useful for certain scenarios such as SSN (which can fit within 15 bytes) and where having the additional integrity verification is not needed (i.e. insert/update is properly audited & access control restricted).

We will welcome feedback on which mode is the most useful & why, we will also welcome any additional feedback on what this library may be missing.

-Raul Garcia
SQL Server Security