Spaces:
Paused
Paused
Download node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js from Leon4gr45/augmenttoolkit: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/spaces/Leon4gr45/augmenttoolkit/resolve/main/node_modules/%40peculiar/asn1-ecc/build/es2015/algorithms.js
- Command line
-
hf download hf://spaces/Leon4gr45/augmenttoolkit/node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js
-
curl -L -o algorithms.js https://huggingface.co/spaces/Leon4gr45/augmenttoolkit/resolve/main/node_modules/%40peculiar/asn1-ecc/build/es2015/algorithms.js
500 Bytes
| import { AlgorithmIdentifier } from "@peculiar/asn1-x509"; | |
| import * as oid from "./object_identifiers.js"; | |
| function create(algorithm) { | |
| return new AlgorithmIdentifier({ algorithm }); | |
| } | |
| export const ecdsaWithSHA1 = create(oid.id_ecdsaWithSHA1); | |
| export const ecdsaWithSHA224 = create(oid.id_ecdsaWithSHA224); | |
| export const ecdsaWithSHA256 = create(oid.id_ecdsaWithSHA256); | |
| export const ecdsaWithSHA384 = create(oid.id_ecdsaWithSHA384); | |
| export const ecdsaWithSHA512 = create(oid.id_ecdsaWithSHA512); | |