- Joined
- Oct 12, 2011
- Messages
- 3,449
[Cryptosystem] RSA-CRT
just gy this, have no use
just gy this, have no use
Last edited:
integer
just can't handle any practical example of RSA.return m - R2I(m) == 0.
debug
thread crash verification, and maybe even work around them.because the value is always too big? dunno, but I hope CRT and FME fix itUnfortunately worthless without virtualized integers. integer just can't handle any practical example of RSA.
check.Also, IsRound:
check. thank youEdit: You should also implement a debug thread crash verification, and maybe even work around them.
because the value is always too big? dunno, but I hope CRT and FME fix it
I have found another way to encypt/decrypt huge number by separating the integer into several blocks, which each blocks only contain 3 digits, will try to implement it later..
It can be seen in a toy example with small values, but RSA is supposed to be used with 2048 bit modulii -> 617 digit number.
Better, but probably not worth your time...
so, what must I do? request for GY again?
neither this nor the one you copied it from works for me i wish nestarus was still here @_@
Actual application of this library ey? There are
a lot of uses but I dont know what can we use this for wc3 modding. Just for fun I guess!
Sorry, I don't think you don't have the Coprime function. It is the most important part of the Totient.
if GCD(m, i) == 1 then
TH courages me to make this D:Kinda makes submitting it pointless.
Complex encryption/check sums ares worthless in WC3 as people will just use the map to do all the encryption/decryption.
Might have value purely as an academic task though.
Could possibly be useful when communicating with a hosting robot. However such strict implementations are not good for map long-levity as only custom host robot versions (closed source) can host it and use the feature.
That's still kinda pointless and has no use for wc3 moddingHow about encrypting a message by getting it's bytes then using RSA to transform those bytes?