How to encrypt PHP openssl_public_encrypt in Nodejs?

后端 未结 0 715
傲寒
傲寒 2020-11-21 12:03

Can anyone help me convert the following PHP code to Nodejs.

public function encrypt($arr) { $data = json_encode($arr);

      $arrEncrypted = array();
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题