Thanks.

On 7月13日, 上午1時38分, Dan Hein <[email protected]> wrote:
> Sorry... pipe it through a grep for 'cipher', not 'crypto'.
>
> Will show things like
>
> Cipher.PBEWITHSHAAND2-KEYTRIPLEDES-CBC
> Cipher.PBEWITHSHA256AND192BITAES-CBC-BC
>
> etc...
>
>
>
> On Mon, Jul 12, 2010 at 12:34 PM, Dan Hein <[email protected]> wrote:
> > The standard Android configuration of openssl is built with the following
> > options which omits the indicated ciphers and security features:
>
> > LOCAL_CFLAGS += -DOPENSSL_NO_BF -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAST 
> > -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 
> > -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED -DOPENSSL_NO_TLSEXT
>
> > The NO_BF means that Blowfish is not supported.
>
> > You can directly query the JCE crypto providers as follows
>
> > {code}
>
> > import java.security.Provider;
> > import java.security.Security;
> > import java.util.Enumeration;
>
> > Log.d(TAG, "Android supported crypto");
>
> > Provider p[] = Security.getProviders();
> > for (int i = 0; i < p.length; i++) {
> >     Log.d(TAG, "__PROVIDER__" + i);
>
> >     Log.d(TAG, "__PROVIDER_META__" + i);
> >     Log.d(TAG, "Name: "+ p[i].getName() + " Version: " + p[i].getVersion() +
>
> >           " Info: " + p[i].getInfo());
> >     Log.d(TAG, "__KEYS__" + i);
> >     for (Enumeration e = p[i].keys(); e.hasMoreElements();) {
>
> >         Log.d(TAG,"    " + e.nextElement());
> >     }
>
> > {code}
> > }
>
> > Run logcat on this and  pipe it through grep -i crypto
>
> > On Mon, Jun 7, 2010 at 10:59 PM, hungr <[email protected]> wrote:
>
> >> Hi all,
>
> >> I would like to ask about Blowfish encryption in Android SDK.
>
> >> Does Android SDK support Blowfish encryption ?
>
> >> Regards,
> >> Raymond Hung

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to