the_glu wrote:I don't understand, can you send me a sample mail ?
[Block A, key A, key B]
[Block B, key B, key C]
So A can decrypt bA, B bA and BB, C bB ?
Why do this ? You can send two mails... And that not because C doesn't know yet how to decrypt bA that you shouldn't try to avoid access to sensible data..
What I do is:
key A- student Key; B- teacher; Key C - another Teacher key; key D - another
Block A,B and C, are all stored encrypted in Database, and signed by teacher (when student access web application, he can see the validation of the mark, but thats another talk :] )
[Block A, key A,key B]
[Block B, key A,key C]
[Block C, key A,key D]
...
and so on
So, in just one e-mail, student have all the information he needs, and I sent it for thousand of students. If I can send 300 emails, I will not send 900
For sure I cant send you an email sample, some parts are in Portuguese:
Nota 1: Mark 1
Exame -> First exam
Assinatura digital -> digital signature
I will send to you the email, but if you provide me an email address, I send to you public and private key, I'm using for testing.
Last edited by machado (2009-06-15 13:59:42)