How do I build a blockchain/cryptocurrency that uses 4-8 bit encryption instead of 256 [closed]

I’m essentially trying to build a cryptocurrency in python with the same scheme as bitcoin or something else except instead of encrypting the information such as ledger information in a 256 bit SHA function do that with a 4 bit hash function. Essentially I’m trying to show a proof of concept for something but the…

msg.sender not increasing the balance

I am trying to execute the following code obtained from`Solidity Tutorial pragma solidity 0.5.4; contract ERC20Token { string name; mapping(address => uint256) public balances; function mint() payable public { balances[msg.sender] += msg.value;//use tx.origin, } } contract MyContract { address public token; address payable wallet; constructor(address payable _wallet, address _token) public { wallet = _wallet; token…