Beispiel #1
0
 public static SecretKey createSecretKey(CipherSpec cipherSpec, String password, byte[] salt)
     throws InvalidKeySpecException, NoSuchAlgorithmException, NoSuchProviderException {
   return createSecretKey(cipherSpec.getAlgorithm(), cipherSpec.getKeySize(), password, salt);
 }