Name of the project.
Date and time of creation.
Date and time when the document was last updated.
| pragma solidity ^0.5.7; | |
| contract Hashit{ | |
| string public password; | |
| bytes32 public hashedpassword; | |
| function hashItforMe(string memory _password) public{ | |
| password = _password; | |
| hashedpassword = sha256(bytes(_password)); | |
| } | |
| } |
pragma solidity ^0.5.7;
contract Randomness{
mapping(uint => ticket) public tickets;
struct ticket{
uint id;
address buyer;
bytes32 hashed;