An open API service indexing awesome lists of open source software.

https://github.com/jerson/node-native-rsa


https://github.com/jerson/node-native-rsa

fast ffi golang native nodejs rsa

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# native-rsa

```javascript
import NativeRSA from 'native-rsa'

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