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

{
  "context": "This criteria evaluates how well the engineer uses crypto-browserify's signature verification capabilities, specifically the createVerify function and Verify object methods. The focus is on proper usage of the verification API for validating digital signatures.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "createVerify usage",
      "description": "Uses createVerify() function with the correct algorithm parameter (e.g., 'RSA-SHA256' or 'sha256') to create Verify objects for signature verification",
      "max_score": 25
    },
    {
      "name": "update method",
      "description": "Correctly uses the update() method on Verify objects to add the data that needs to be verified, with appropriate encoding handling",
      "max_score": 20
    },
    {
      "name": "verify method",
      "description": "Properly calls verify() method with the public key (PEM format), signature, and signature encoding (e.g., 'hex'), and correctly interprets the boolean return value",
      "max_score": 30
    },
    {
      "name": "batch verification",
      "description": "Implements batch verification by creating multiple Verify objects and correctly processes an array of licenses to return valid and invalid indices",
      "max_score": 15
    },
    {
      "name": "proper encodings",
      "description": "Uses correct encoding parameters for signature input (hex-encoded string) and handles data encoding appropriately in verification operations",
      "max_score": 10
    }
  ]
}

Version

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