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
- Host: GitHub
- URL: https://github.com/jerson/node-native-rsa
- Owner: jerson
- License: mit
- Created: 2019-10-31T19:29:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-12T15:49:16.000Z (over 4 years ago)
- Last Synced: 2025-08-20T01:27:36.111Z (12 months ago)
- Topics: fast, ffi, golang, native, nodejs, rsa
- Language: C
- Homepage: https://www.npmjs.com/package/native-rsa
- Size: 2.63 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```