adding cipher support for titanium