How to encrypt url link with apigee

Not applicable

Hi, i am new in api , and i don't know what is this , so i want to ask how to get started ?

Currently i am learning to create function that can encrypt url link

example : http://mysite.com/test.mp4

into : http://mysite.com/mp4?=aSoPoIKLGh

or whatever it created

i am not really sure if this created with api or not, so hope i can get answer about this.

Solved Solved
0 2 1,350
2 ACCEPTED SOLUTIONS

Not applicable

If you could decrypt the return value, you could do a JavaScript or Service Callout and compare the results of that to the original input value

View solution in original post

Not applicable

Adding to Michael's answer. You can leverage crypto-js library in Node.js to implement this. Attached file provides an example of this implementation with functions for encryption and decryption. The concept was initially taken from Moritz at Cloudme. If you want more details check this out.

aesutil.js.zip

Hope it helps!

View solution in original post

2 REPLIES 2

Not applicable

If you could decrypt the return value, you could do a JavaScript or Service Callout and compare the results of that to the original input value

Not applicable

Adding to Michael's answer. You can leverage crypto-js library in Node.js to implement this. Attached file provides an example of this implementation with functions for encryption and decryption. The concept was initially taken from Moritz at Cloudme. If you want more details check this out.

aesutil.js.zip

Hope it helps!