korlibs / korlibs/korlibs-crypto

RSA

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

Description

It would be great to have support for parsing PEM, DER, etc, and to be able to do encryption and decryption operations on them (possibly using platform-specific libraries like BouncyCastle or a pure Kotlin implementation).

Annoyingly, this would require two new deps - BigInteger and Base64. BigInteger is easily available from https://github.com/gciatto/kt-math (a really good library). It would also be great if Korlibs could make a Base64 library in multiplatform, as this is really lacking from the standard library. It is a really great example for the `when` clause instead of indexOf.

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by defining the supported PEM and DER inputs and the encryption and decryption operations described in the issue. Compare the proposed BouncyCastle or pure Kotlin approaches, and assess the BigInteger and Base64 dependencies, including kt-math. Done means the scope, platform strategy, dependencies, and verification cases are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
cryptography, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.