Tuesday, 30 August 2011

API v1 - Decrypt string


Key:
Data:

API Call: http://api.borigami.net/v1.php?k=decrypt

Input:

key=4e5da3a75af1a
data=Naj/VUuzWmRDMvQldwXGob38myfai+cwJ70kAoZyZyo=
  • Part in blue color is a key which can be a unique id.
  • Part in red color is encrypted text which will be decrypted.
  • Input must be post variables

Output:

  • In case of error:
  • kind=error
    data=Invalid request!
    

    Part in red color is error message.

  • In case of success:
  • kind=success
    data=Hello world!
    

    Part in red color is decrypted text.

No comments:

Post a Comment