- Generate unique id
- Encrypt string
- Decrypt string
- Encode HTML
- Decode HTML
- Human verify (Request, Image, Verify)
Tuesday, 30 August 2011
API v1 - Functions
API v1 - Decrypt string
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:
- In case of success:
kind=error
data=Invalid request!
Part in red color is error message.
kind=success
data=Hello world!
Part in red color is decrypted text.
API v1 - Encrypt string
API Call: http://api.borigami.net/v1.php?k=encrypt
Input:
key=4e5da3a75af1a data=Hello world!
- Part in blue color is a key which can be a unique id.
- Part in red color is text which will be encrypted.
- Input must be post variables
Output:
- In case of error:
- In case of success:
kind=error
data=Invalid request!
Part in red color is error message.
kind=success
data=Naj/VUuzWmRDMvQldwXGob38myfai+cwJ70kAoZyZyo=
Part in red color is encrypted text.
API v1 - Generate unique id
API Call: http://api.borigami.net/v1.php?k=uniqid
Output:
- In case of error:
- In case of success:
kind=error
data=Invalid request!
Part in red color is error message.
kind=success
data=4e5d7a6590852
Part in red color is unique id.
Subscribe to:
Posts (Atom)