hackedteam/core-blackberry

View on GitHub
RCSBlackBerry/src/blackberry/crypto/EncryptionPKCS5.java

Summary

Maintainability
A
2 hrs
Test Coverage

Method decryptDataSelf has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public byte[] decryptDataSelf(final byte[] cyphered, final int enclen,
            final int offset) throws CryptoException {
        //#ifdef DEBUG
        debug.trace("decryptData PKCS5");
        //#endif
Severity: Minor
Found in RCSBlackBerry/src/blackberry/crypto/EncryptionPKCS5.java - About 1 hr to fix

    Method decryptDataIntegrity has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public byte[] decryptDataIntegrity(final byte[] cyphered, int len,
                int offset) throws CryptoException {
    
            byte[] plainSha;
            try {
    Severity: Minor
    Found in RCSBlackBerry/src/blackberry/crypto/EncryptionPKCS5.java - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status