crypto.gradle 353 B

123456789101112
  1. // crypto module build file
  2. // jdkVersion = System.properties['java.version']
  3. // isJdk6 = jdkVersion >= '1.6'
  4. int maxAESKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength('AES')
  5. test {
  6. if (maxAESKeySize < 256) {
  7. println "AES keysize limited to $maxAESKeySize, skipping EncryptorsTests"
  8. exclude '**/EncryptorsTests.class'
  9. }
  10. }