Skip to main content
GET
/
v2
/
cryptography
/
algorithms
/
range
/
component
Get cryptographic algorithms used by a component across specified version ranges.
curl --request GET \
  --url http://api.scanoss.com/v2/cryptography/algorithms/range/component
{
  "component": {
    "purl": "pkg:github/scanoss/engine",
    "versions": [
      "1.0.0",
      "2.0.0",
      "3.0.0"
    ],
    "algorithms": [
      {
        "algorithm": "AES",
        "strength": "Strong"
      },
      {
        "algorithm": "RSA",
        "strength": "Strong"
      }
    ]
  },
  "status": {
    "status": "SUCCESS",
    "message": "Algorithms in range Successfully retrieved"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

purl
string
required

Package URL identifying the component to analyze.

requirement
string

Version constraint for component resolution when PURL lacks explicit version.

Response

A successful response.

Response message for GetComponentAlgorithmsInRange method.

Contains cryptographic algorithm information for a single component across version ranges including all detected algorithms and the versions where they appear.

component
object

Algorithm information for a specific component across version ranges.

status
object

Detailed response details.