I'm creating a script that will access AWS services using GAS. I'm using the hashing functions in the Utilities library for all the hashing that is required to create a v4 signature. These functions appear to be able to successfully hash data...
I am working with the keybase.io API - trying to drive it from javascript.  Logging in is a two step process.  The second step is detailed at https://keybase.io/docs/api/1.0/call/login.  I am stuck on the following;     The server and the client shar...
I need to generate a hash using HMAC SHA256. I am using the following code in JavaScript. I need an equivalent code in Objective-C.  function serialize( obj ) {    return Object.keys(obj).reduce(function(a,k){a.push(k+'='+encodeURIComponent(o...
Having trouble getting C# and Javascript to generate the same HMAC:  C#:  string data = String.Format("{0}{1}{2}{3}{4}{5}", APPId, requestHttpMethod, requestUri, requestTimeStamp, nonce, requestContentBase64String);          var secretKeyByte...
I'm trying to find a list of strings that can be used a a crypto algorithm to fit into this function, replacing SHA256.  crypto.createHmac("SHA256", secret).update(string).digest('base64'),   I've come to the understanding tha...
I am porting a php script to node, and I don't know much about encryption.  The php script uses this function:  hash_hmac('sha512', text, key);   So, I need to implement a function in Node js for returning a keyed hash using the hmac meth...
Can you anybody explain me a difference between creating HmacSha512 signature using Crypto module of Node.JS and Google Apps Script?  Code 1 - Node.JS  var secret = "my secret"; var message = "message"; var crypto = require("crypt...
This question already has answers here:...
I am successfully implemented HMAC verification from the backend but would like to offer JSONP support.  Since I dont want the client to know about the secret key, what is the best way to take advantage of HMAC and make calls from the client?...
I'm trying to write a javascript lib to push events to Pusher.  In the environment I'm using I can't use nodejs, so no require('crypto') ... or at least I do not know of a way of using it outside node.  I'm following the examp...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.