Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An entertaining and original way of removing PKCS#1 signature padding:

  var hDigestInfo = biDecryptedSig.toString(16).replace(/^1f+00/, '');
(Just a pity the signature verification function is broken by it.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: