The following document contains the results of PMD's CPD 6.55.0.

Duplications

File Project Line
net/wedjaa/ansible/vault/crypto/decoders/implementation/CypherAES256.java CONGA Ansible Plugin 181
net/wedjaa/ansible/vault/crypto/decoders/implementation/CypherAES256.java CONGA Ansible Plugin 229
EncryptionKeychain keys = new EncryptionKeychain(salt, password, KEYLEN, IVLEN, ITERATIONS, KEYGEN_ALGO);
    keys.createKeys();

    byte[] cypherKey = keys.getEncryptionKey();
    if (logger.isTraceEnabled()) {
      logger.trace("Key 1: {} - {}", cypherKey.length, Util.hexit(cypherKey, 100));
    }
    byte[] hmacKey = keys.getHmacKey();
    if (logger.isTraceEnabled()) {
      logger.trace("Key 2: {} - {}", hmacKey.length, Util.hexit(hmacKey, 100));
    }
    byte[] iv = keys.getIv();
    if (logger.isTraceEnabled()) {
      logger.trace("IV: {} - {}", iv.length, Util.hexit(iv, 100));

Back to top

Version: 1.4.7-SNAPSHOT. Last Published: 2024-03-06.