Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] rsa support #7

Open
lublak opened this issue Mar 9, 2019 · 4 comments
Open

[feature request] rsa support #7

lublak opened this issue Mar 9, 2019 · 4 comments

Comments

@lublak
Copy link

@lublak lublak commented Mar 9, 2019

Like the titel says: Rsa Support.

First stuff that we need is a bigint class.
i don't know where it fits. But i think BigInt should be directly in the core haxe repo?

@flashultra
Copy link
Collaborator

@flashultra flashultra commented Mar 10, 2019

There was discussion about BigInteger and RSA here : #2
As you can see, the last suggestion was to be a separate library.
Also Nicolas mention here ( HaxeFoundation/haxe#7535 ) about adding large integer literals supports ( int64) , but not say anything about BigInt
So yes, for RSA support first need to be added BigInt.

P.S. Just as info here is a BigInt mplementation part of thx core https://github.com/fponticelli/thx.core/blob/master/src/thx/BigInt.hx

@kevinresol
Copy link

@kevinresol kevinresol commented Apr 4, 2019

I worked on a bigint implementation this week. It covers a few but not all targets for now. But I think it can be a foundation for RSA.

https://github.com/kevinresol/bigint

@lublak
Copy link
Author

@lublak lublak commented Apr 10, 2019

@kevinresol it's a good start to keep it native.
I think it should be like the haxe.Int64.
Keep it native if it is possible and if it's not use it like the BigInt implementation of thx.core

@Aurel300
Copy link
Member

@Aurel300 Aurel300 commented Apr 10, 2019

I realise now that thx seems to be mostly a port of BigInteger.js also. Well I wasted my time :D https://github.com/Aurel300/hx-bigint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants