How to use the jsrsasign.hextorstr function in jsrsasign

To help you get started, we’ve selected a few jsrsasign examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kjur / jsrsasign / src / nodeutil-1.0.js View on Github external
function saveFileBinByHex(binFile, hexString) {
    var fs = require('fs');
    var rs = require('jsrsasign');
    var rawString = rs.hextorstr(hexString);
    fs.writeFileSync(binFile, rawString, 'binary');
}

jsrsasign

opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)

MIT
Latest version published 11 months ago

Package Health Score

74 / 100
Full package analysis