Search code examples
c#javascriptasp.netshacryptojs

CryptoJS.SHA3 in code behind in c#?


Now I am using below code in aspx page. But Now I need something in code behind in C#. Is there any library available?

<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha3.js"/>
<script>
    var hash = CryptoJS.SHA3("Message", { outputLength: 512 });
</script>

Solution

  • There are libraries that implement SHA3 in C#. Some are:

    Checkout their docs for code examples.