But why you want to crack it?
You can decrypt it when you have one key of key pair.
Hi. The public key is basically a random prime number, so for 2 or more different 'codes' you can have the same public key., in RSA. The private key is derived by a maths function of the prime factors of N, as this is the modulas to be used on the output. So just having the public key mean nothings without N. Perhaps the video was a bit misleading, as there are other ways to crack RSA code, the challenge is to get the prime factors of N. I have a link http://delphiforfun.org/programs/math_topics/RSA_KeyDemo.htm which explains it better than i can.
I am still unable to understand what your actual query is.
Is it about security of RSA? or about its usage in the extension? or you want the extension to provide modulas and exponent?
There is no query, just a statement. RSA will not work unless N is known by both parties, and i see no way to extract N from your component, although it raises an interesting question, how did you get Java to handle the big numbers, i thought it was limited to 2^31
It is open source now:
Kindly have a look yourself.
ChangeLog Version 3.1
New Blocks
Changes
- GenerateKeys method now works asynchronously
what should i type in the encryption key? pls help : (
thanks a lot
Can someone explain why this wont work?
If I dont encrypt the tag then it works but as soon as i try with the encypted tag i get errors as shown in the .aia
Testing.aia (14.5 KB)
Probably you haven't generated key pair. Also, you will have to store initial keys as they will be different when you generate them next time.
Nope, generated keypair and stored as global variable. Generated keypair on screen initialize and get successful message and yes the keys will be stored wondered why this didn't work alone. Like I said if I am in companion mode and try those blocks it fails to provide anything, as soon as I take away the encrypted tag for storage then it all works.
Maybe somekind of limit on tinydb tag length? As it is not meant to store large amount of data.
Yeah that's what I was thinking as well but haven't had time to test that yet. Just gonna try segmenting the encrypted data at a smaller length.
What does encrypt
cat look like in a label ?
just testing that now, that is the problem, every time i encrypt cat with the same keys it gives me a different output?
The parts in the list view are all my attempts at encrypting the word cat.
Why would it change every time?
To encrypt a string whose length is x, you will have to generate key-pair of length 8x + c, where c > 1. (for padding)
Right ? But the generated key is 1024 and I put in the word cat so that's plenty big enough right?
I even tried with 4000 and same thing. It's all to do with the encrypted text changing each time the word is encrypted, so I can't call data from tinydb as the data changes every time. That's when I get the error when it can't find the data. If I don't encrypt the tinydb tag , it encrypts, stores and decrypt fine without error