public static void loadDefaultEncryptionModule ( ) { // Be sure that the cryptographical algorithms are loaded final Provider [ ] providers = Security . getProviders ( ) ; boolean found = false ; for ( final Provider provider : providers ) { if ( provider instanceof SunJCE ) { found = true ; break ; } } if ( ! found ) { Security . addProvider ( new SunJCE ( ) ) ; } }
Load the default encryption module .