diff --git a/content/_recipes/create-sha256-hash-clarity.mdx b/content/_recipes/create-sha256-hash-clarity.mdx index c3e6a322..0edfdb9a 100644 --- a/content/_recipes/create-sha256-hash-clarity.mdx +++ b/content/_recipes/create-sha256-hash-clarity.mdx @@ -13,7 +13,7 @@ that can be created in javascript as well. const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea ``` -```Clarity +```clarity ;; vote (define-map votes principal (buff 32)) (map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea) @@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03 **Recipes** -- [create-sha256-hash-stacks-js](/cookbook/create-sha256-hash-stacks-js) +- [Create a SHA-256 hash using Stacks.js](/cookbook/create-sha256-hash-stacks-js) diff --git a/content/_recipes/create-sha256-hash-stacks-js.mdx b/content/_recipes/create-sha256-hash-stacks-js.mdx index 33d322c1..0e09f7ad 100644 --- a/content/_recipes/create-sha256-hash-stacks-js.mdx +++ b/content/_recipes/create-sha256-hash-stacks-js.mdx @@ -1,4 +1,4 @@ -# Create a SHA-256 hash using stacks.js +# Create a SHA-256 hash using Stacks.js A scripts in javascript that creates a sha256 hash that can be created in Clarity as well. @@ -13,7 +13,7 @@ that can be created in Clarity as well. const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea ``` -```Clarity +```clarity ;; vote (define-map votes principal (buff 32)) (map-set votes tx-sender 0xb462657d5547c972e675cfd7ee2e313eb033e6aa74f668ca7bd1d79a056c9fea) @@ -30,4 +30,4 @@ const hash = createSha256Hash("deadbeef"); //b462657d5547c972e675cfd7ee2e313eb03 **Recipes** -- [create-sha256-hash-clarity](/cookbook/create-sha256-hash-clarity) +- [Create a SHA-256 hash using Clarity](/cookbook/create-sha256-hash-clarity)