RSAForPostman icon indicating copy to clipboard operation
RSAForPostman copied to clipboard

add rsa encryt for postman

Results 3 RSAForPostman issues
Sort by recently updated
recently updated
newest added

Hi, I am follow all the steps and try to use RSA encryption in postman but getting error "ReferenceError: window is not defined". Please help me to fix this issues....

privateKey = forge.pki.privateKeyFromPem(private_key); //var md = forge.md.sha1.create(); var md = forge.md.sha1.create(); //forge.util.decode64(privateKey) md.update(preSignBuf,inputCharset); var sign = forge.util.encode64(privateKey.sign(md)); 上面的代码怎么改成适用于x509 的代码 private key为啥需要加 '-----BEGIN PRIVATE KEY-----\n'和'-----END PRIVATE KEY-----'