TextEncryptor function ( CharSequence arg0 , CharSequence arg1 ) { return new HexEncodingTextEncryptor ( new AesBytesEncryptor ( arg0 . toString ( ) , arg1 ) ) ; }
creates an encryptor for queryable text strings that uses standard password-based encryption . uses a 16-byte all-zero initialization vector so encrypting the same data results in the same encryption result . this is done to allow encrypted data to be queried against . encrypted text is hex-encoded . concode_field_sep TextEncryptor NO_OP_TEXT_INSTANCE concode_field_sep BytesEncryptor standard concode_elem_sep String encrypt concode_elem_sep TextEncryptor noOpText concode_elem_sep TextEncryptor text concode_elem_sep String decrypt