How to use SHA3 encryption in scala ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use SHA3 encryption in scala ?

bsingh
Hi friends,

Has any body used SHA3 (256 or 512) bit encryption in scala ?  Is there any library that exists that can come handy ?
I am fairly new to the language , it would be great if somebody can direct me in the right direction.

Thanks,
Bandeep

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to use SHA3 encryption in scala ?

Nils Kilden-Pedersen
SHA3 is not encryption, but a cryptographic hash function.

Hash functions are available through the `java.security.MessageDigest` class, but SHA3 is generally not included in any JVMs, afaik.

You can however get one from Bouncy Castle:
https://www.bouncycastle.org/java.html


On Wed, Feb 8, 2017 at 12:41 PM, <[hidden email]> wrote:
Hi friends,

Has any body used SHA3 (256 or 512) bit encryption in scala ?  Is there any library that exists that can come handy ?
I am fairly new to the language , it would be great if somebody can direct me in the right direction.

Thanks,
Bandeep

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to use SHA3 encryption in scala ?

bsingh
Thanks a lot. Just what i needed.

On Wednesday, February 8, 2017 at 11:58:24 AM UTC-8, Nils wrote:
SHA3 is not encryption, but a cryptographic hash function.

Hash functions are available through the `java.security.MessageDigest` class, but SHA3 is generally not included in any JVMs, afaik.

You can however get one from Bouncy Castle:
<a href="https://www.bouncycastle.org/java.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.bouncycastle.org%2Fjava.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBW4SbKHJFneAd-KKpz0178HDDeg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.bouncycastle.org%2Fjava.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBW4SbKHJFneAd-KKpz0178HDDeg&#39;;return true;">https://www.bouncycastle.org/java.html

More instructions here:
<a href="https://www.bouncycastle.org/wiki/display/JA1/Provider+Installation" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.bouncycastle.org%2Fwiki%2Fdisplay%2FJA1%2FProvider%2BInstallation\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH7ppzzPVNlyN9ZwgmeWM6yf6Z1VQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.bouncycastle.org%2Fwiki%2Fdisplay%2FJA1%2FProvider%2BInstallation\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH7ppzzPVNlyN9ZwgmeWM6yf6Z1VQ&#39;;return true;">https://www.bouncycastle.org/wiki/display/JA1/Provider+Installation

On Wed, Feb 8, 2017 at 12:41 PM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="EuzjzLxQCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">bsi...@...> wrote:
Hi friends,

Has any body used SHA3 (256 or 512) bit encryption in scala ?  Is there any library that exists that can come handy ?
I am fairly new to the language , it would be great if somebody can direct me in the right direction.

Thanks,
Bandeep

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="EuzjzLxQCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">scala-user+...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.