https://crypto.stackexchange.com/questions/225/should-i-use-ecb-or-cbc-encryption-mode-for-my-block-cipher https://security.stackexchange.com/questions/105806/encrypt-db-fields-preserving-search-functionality Should I use ECB or CBC encryption mode for my block cipher?