Kasparov Patel wrote:
I am trying to do shamir secret sharing of a given text regardless of text length. It could be 20, 50 or 100 words long. Can any one explain me, how to supply text to shamir's secret?
Kasparov Patel wrote:I have taken references from may places. Some of them are as follow:
1) http://www.youtube.com/watch?v=v6IvxnJHD-o
2) http://en.wikipedia.org/wiki/Shamir's_Secret_Sharing
3) http://www.cap-lore.com/code/shamir.c
It is up to you, whether you want to answer or not.
Kasparov Patel wrote:Hello Friends,
Thanks for your reply. I do have some questions. I know I can convert string into byte array and using that value I can create share. But I am not getting how can I convert back from byte array to string to show original string?
Please help me.
Thanking You
Richard Tookey wrote:I find it interesting that you are using addition of the previous 'toAdd' ciphertext value to the current cleartext value to create Cipher Block Chaining (CBC) to circumvent frequency analysis. I'm not convinced that your implementation of this will create a decodable set of values from just K shares since all N shares seem to be needed in the same order they were generated in order to invert the CBC. I shall have to think about it.!
fernando moreno wrote:Richar, i have the same problema but i cant resolve it can you post your last code
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |