Exemple #1
0
        public Block(int BlockId = 1, string data = "Default", string prev = "0000000000000000000000000000000000000000000000000000000000000000")
        {
            this.BlockId = BlockId;
            this.data    = data;
            this.prev    = prev;
            string combine = BlockId.ToString() + data + prev;

            this.hash = MAS256.mas256(combine);
        }
        public IActionResult HashPage(string input = " ")
        {
            string output = MAS256.mas256(input);

            return(View("HashPage", output));
        }