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-4/

{
  "context": "This criteria evaluates how well the engineer uses crypto-browserify's digital signature functionality (createSign and Sign class) to implement document signing. The focus is on correct API usage, proper streaming data handling, and output encoding management.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses createSign",
      "description": "The implementation uses crypto.createSign() or the Sign constructor to create signing objects with the 'RSA-SHA256' algorithm",
      "max_score": 25
    },
    {
      "name": "Uses update method",
      "description": "The implementation uses the update() method on Sign objects to add data to be signed (either single call or multiple calls for chunks)",
      "max_score": 25
    },
    {
      "name": "Uses sign method",
      "description": "The implementation uses the sign() method on Sign objects with the private key to generate the signature",
      "max_score": 25
    },
    {
      "name": "Handles output encoding",
      "description": "The implementation correctly specifies output encoding ('hex' or 'base64') when calling sign() method to return signatures in the requested format",
      "max_score": 15
    },
    {
      "name": "Implements streaming correctly",
      "description": "The signChunks function correctly calls update() multiple times (once per chunk) on the same Sign object before calling sign(), demonstrating proper understanding of streaming/incremental data processing",
      "max_score": 10
    }
  ]
}

Version

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