native-rsa
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

native-rsa

import NativeRSA from 'native-rsa'

 const decrypted = await NativeRSA.decryptOAEP(
    message: string,
    label: string,
    hashName: RSAHash,
    pkcs12: string,
    passphrase: string
  ): Promise<string>
 const verified =  await NativeRSA.verifyPSS(
    signature: string,
    message: string,
    hashName: RSAHash,
    pkcs12: string,
    passphrase: string
  ): Promise<boolean> 

Readme

Keywords

Package Sidebar

Install

npm i native-rsa

Weekly Downloads

4

Version

0.6.0

License

MIT

Unpacked Size

6.53 MB

Total Files

11

Last publish

Collaborators

  • pardacho