• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hash help

New Here ,
Nov 17, 2006 Nov 17, 2006

Copy link to clipboard

Copied

I was trying to script a function in coldfusion that does sha256 encryption using a shared secret value. Doesnt seem like this is possible using CF functions. Can someone please tell me how I can do this any ohter way using CF.
So basically it takes 3 parameters data, sharedkey and the enncryption type kind of thing.

I was trying to port some of the iTunes transfer script code for iTunesU to CF.

Any help is highly appreciated.
Thanks.
TOPICS
Advanced techniques

Views

311

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 18, 2006 Nov 18, 2006

Copy link to clipboard

Copied

What i really need is a function or tag that can do hmac sha256 bit encryption in CF give it the data and a key.
Does anyone know how that can be done?

TIA.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 19, 2006 Nov 19, 2006

Copy link to clipboard

Copied

Well i solved my problem. I got a program called rehash that does commandline encryption and i just used cfexecute to run it and get the output from it. Just posting in case some one else has the same issue.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 19, 2006 Nov 19, 2006

Copy link to clipboard

Copied

xsane,

Just curious .. I thought iTunesU was in java (Of course I could be wrong 🙂 Couldn't you just use createObject() and use it directly in ColdFusion?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 21, 2006 Nov 21, 2006

Copy link to clipboard

Copied

LATEST
Can you please show me how you were able to use cfexecute to output the hash code and also to append the result to the iTunes credentials that were sent to you? We are looking into iTunes for our University also.

We are a coldfusion environment - and iTunes only sent codes for Java, Perl and C#. It will greatly help us in our venture into the iTunes realm.

Thank you,

Sevor Klu

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation