Guest User

Untitled

a guest
Feb 24th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. contract messageHash {
  2.  
  3. function hashPersonalMessage(bytes _message) returns (bytes32){
  4. bytes32 msgHash = sha3('x19Ethereum Signed Message:n64', _message);
  5. return msgHash;
  6. }
  7.  
  8. contract messageHash {
  9.  
  10. function hashPersonalMessage() returns (bytes32){
  11. bytes32 msgHash = sha3('x19Ethereum Signed Message:n64', hex"3a443d8381a6798a70c6ff9304bdc8cb0163c23211d11628fae52ef9e0dca11a001cf066d56a8156fc201cd5df8a36ef694eecd258903fca7086c1fae7441e1d");
  12. return msgHash;
  13. }
  14. }
  15.  
  16. contract messageHash {
  17.  
  18. function hashPersonalMessage() returns (bytes32){
  19. bytes32 msgHash = sha3('x19Ethereum Signed Message:n64', "x3ax44x3dx83x81xa6x79x8ax70xc6xffx93x04xbdxc8xcbx01x63xc2x32x11xd1x16x28xfaxe5x2exf9xe0xdcxa1x1ax00x1cxf0x66xd5x6ax81x56xfcx20x1cxd5xdfx8ax36xefx69x4execxd2x58x90x3fxcax70x86xc1xfaxe7x44x1ex1d");
  20. return msgHash;
  21. }
  22. }
Add Comment
Please, Sign In to add comment