Steam API Key in Client-Side JavaScript -
recently have created steam app, using steam api, requires steam key use large extent. application written using client-side javascript , needs have key put in there somehow. steam forbids user posting api in public place, , believe source code public.
is there anyway of encoding it, there no way normal key, yet still keep functionality of putting in call website (for example www.example.com/?api=key).
an example have been looking @ encoding base 64, i'm not sure if fulfills privacy required. code is:
alert(btoa("key"));
after paste in alert message got in example of
var api=atob("key");
this hides key plain site, can decoded using like
alert(atob("key"));
is there library can use, or way not need server side javascript (such node.js) this.
Comments
Post a Comment