korlibs / korlibs/korlibs-crypto
AES encrypt / decrypt using passphrase
- Dominant language
- Kotlin
- Stars
- 12
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Currently the lib requires key and iv when encrypting / decrypting with AES.
I think it would be better to provide methods that use passphrase, like crypto js:
```
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase");
var decrypted = CryptoJS.AES.decrypt(encrypted, "Secret Passphrase");
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the library's existing AES encrypt/decrypt entry points and inspect how they currently accept a key and IV. Compare the requested passphrase-based API with the CryptoJS example in the issue, then verify that encryption and decryption round-trip using the same passphrase.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- cryptography
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100