LinusU / LinusU/react-native-webcrypto

generateKey support?

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23
Forks
2
PR merge metrics
No merged PRs in 30d

Description

It would be great if this package supported `generateKey`:

```
crypto.subtle.generateKey(
{
name: "RSA-PSS",
hash: "SHA-256",
modulusLength: 4096,
publicExponent: new Uint8Array([1, 0, 1]),
},
true,
["sign", "verify"],
);
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the package's WebCrypto entry point for crypto.subtle.generateKey and compare the requested RSA-PSS example with the APIs already supported. Determine the native implementation and tests involved, then verify that the example completes successfully and produces usable signing and verification keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, react-native
Domain
cryptography, mobile, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.