Method | Description | |
---|---|---|
AliceTasks ( byte &data, byte &hash, byte &signature ) : void | ||
BobTasks ( byte data, byte hash, byte signature ) : void | ||
Run ( ) : void |
Method | Description | |
---|---|---|
AddSignatureToHash ( byte hash, System.Security.Cryptography.CngKey key ) : byte[] | ||
HashDocument ( byte data ) : byte[] | ||
InitAliceKeys ( ) : void | ||
IsDocumentUnchanged ( byte hash, byte data ) : bool | ||
IsSignatureValid ( byte hash, byte signature, System.Security.Cryptography.CngKey key ) : bool | ||
Main ( ) : void |
public AliceTasks ( byte &data, byte &hash, byte &signature ) : void | ||
data | byte | |
hash | byte | |
signature | byte | |
return | void |
public BobTasks ( byte data, byte hash, byte signature ) : void | ||
data | byte | |
hash | byte | |
signature | byte | |
return | void |