CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-crypto-browserify

tessl install tessl/npm-crypto-browserify@3.12.0

Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.

Agent Success

Agent success rate when using this tile

100%

Improvement

Agent success rate improvement when using this tile compared to baseline

1x

Baseline

Agent success rate without this tile

100%

rubric.jsonevals/scenario-1/

{
  "context": "This evaluation assesses how effectively an engineer uses crypto-browserify's PBKDF2 functionality (pbkdf2 and pbkdf2Sync functions) to implement password-based key derivation. The focus is on proper usage of the library's API for both synchronous and asynchronous key generation with appropriate parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses pbkdf2Sync",
      "description": "Implementation correctly uses crypto-browserify's pbkdf2Sync function for synchronous key derivation with all required parameters (password, salt, iterations, keylen, digest)",
      "max_score": 30
    },
    {
      "name": "Uses pbkdf2",
      "description": "Implementation correctly uses crypto-browserify's pbkdf2 function for asynchronous key derivation with all required parameters including the callback function",
      "max_score": 30
    },
    {
      "name": "Proper parameter passing",
      "description": "All five parameters (password, salt, iterations, keyLength, algorithm/digest) are correctly passed to both pbkdf2 and pbkdf2Sync functions in the correct order",
      "max_score": 20
    },
    {
      "name": "Callback handling",
      "description": "Asynchronous implementation properly handles the callback pattern with error-first callback (err, derivedKey) as specified by crypto-browserify's pbkdf2 API",
      "max_score": 15
    },
    {
      "name": "Returns Buffer",
      "description": "Functions correctly return or pass Buffer objects as the derived keys, matching crypto-browserify's pbkdf2/pbkdf2Sync return types",
      "max_score": 5
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/crypto-browserify@3.12.x
tile.json