UNPKG

ruscryptojs

Version:

Simplified library for Russian GOST crypto providers.

14 lines (11 loc) 250 B
function DN(){} DN.prototype.toString = function () { let ret = ''; for (let i in this) { if (this.hasOwnProperty(i)) { ret += i + '="' + this[i].replace(/"/g, '\'') + '", '; } } return ret; }; export default DN;