Hmac-SHA512

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

Hmac-SHA512

Post by adventuresofgreg » Mon Dec 18, 2017 2:06 pm

Hello. I need the SHA512 hash function, and Mark Smith's library only contains up to 256:

http://www.webring.org/l/rd?ring=runtim ... evstuff%2F

I notice that LV v9 includes a "messageAuthenticationCode", but I'm confused as to the "key" requirement.

I'm sending a REST command to a server, and part of the command containing a users private key must be hashed.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9824
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Hmac-SHA512

Post by FourthWorld » Mon Dec 18, 2017 6:51 pm

V9's messageDigest function includes built in support for SHA256. I don't know if it also includes SHA512, but if not submit a request and maybe they can add it before so goes final.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Talking LiveCode”