This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
doublequestionmark's profile picture

How would i go about hashing a string using sha512?

Started by doublequestionmark, 18 June 2015 - 12:52 AM
doublequestionmark #1
Posted 18 June 2015 - 02:52 AM
title pretty much explains it
Creator #2
Posted 18 June 2015 - 12:45 PM
Use this website.
Anavrins #3
Posted 20 June 2015 - 12:10 AM
Title doesn't really explains it, a bit more details would be great.
Are you looking for a website that hashes your string into sha512, or are you looking for a CC api?
If you're just looking for a site, Creator (as much as Google) has your back, however there are no sha512 api for CC that I know of, though there is one for sha256 here which is as secure as sha512.
Edit: I tried to make a sha512 variant of that API, however numbers gets too big for CC, so that's a no go :/
Edited on 19 June 2015 - 11:02 PM
Bomb Bloke #4
Posted 20 June 2015 - 01:49 AM
however numbers gets too big for CC, so that's a no go :/

… you keep saying that, as if it's not possible to write your own handler…
Creator #5
Posted 20 June 2015 - 09:16 AM
however numbers gets too big for CC, so that's a no go :/

… you keep saying that, as if it's not possible to write your own handler…

There is bigInt
Anavrins #6
Posted 10 August 2015 - 04:32 AM
however numbers gets too big for CC, so that's a no go :/

… you keep saying that, as if it's not possible to write your own handler…
Well yeah I know it's possible to write a BigInt or some other handler, I guess I'm just too minded by the fact that using it will cause a noticeable performance drop.
Edited on 11 August 2015 - 06:25 AM