evandcoleman/node-appletv

View on GitHub
src/lib/util/encryption.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function HKDF has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

function HKDF(hashAlg: string, salt: Buffer, ikm: Buffer, info: Buffer, size: number): Buffer {
Severity: Minor
Found in src/lib/util/encryption.ts - About 35 mins to fix

    Function verifyAndDecrypt has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function verifyAndDecrypt(cipherText: Buffer, mac: Buffer, AAD: Buffer, nonce: Buffer, key: Buffer): Buffer {
    Severity: Minor
    Found in src/lib/util/encryption.ts - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status