ess-ts
Version:
Enhanced Security Services (ESS) in TypeScript
22 lines • 810 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports._encode_Hash = exports._decode_Hash = void 0;
const tslib_1 = require("tslib");
const $ = tslib_1.__importStar(require("asn1-ts/dist/node/functional"));
let _cached_decoder_for_Hash = null;
function _decode_Hash(el) {
if (!_cached_decoder_for_Hash) {
_cached_decoder_for_Hash = $._decodeOctetString;
}
return _cached_decoder_for_Hash(el);
}
exports._decode_Hash = _decode_Hash;
let _cached_encoder_for_Hash = null;
function _encode_Hash(value, elGetter) {
if (!_cached_encoder_for_Hash) {
_cached_encoder_for_Hash = $._encodeOctetString;
}
return _cached_encoder_for_Hash(value, elGetter);
}
exports._encode_Hash = _encode_Hash;
//# sourceMappingURL=Hash.ta.js.map