4 ms·
I think what I'll do is send a list of all grades listed next to the SHA256 hash of their student IDs They have access to SHA256 so they can privately find the
by plg 13y ago
I think what I'll do is send a list of all grades listed next to the SHA256 hash of their student IDs
They have access to SHA256 so they can privately find their own student ID hash and then look up their grades
- spurgu 13y agoThe problem with this is if, for example, only one student got a five (and they know who), from which the others could deduce that students hash.
- JoachimSchipper 13y agoNot that it would be a good idea otherwise, but this doesn't work: any enterprising student can simply hash all possible student IDs and find who's gotten what grade. (SHA256 is fast.) Yes yes, use bcrypt etc., but that's overkill; I'll post a simpler solution.