Share Pay application APIs
This repository contains APIs for an application SharePay.
SharePay is an application to split the bills among friends.
APIs are created in core PHP (No Language Libraries used).
Not Storing any user data in raw format
Created custom crypto provider class to encrypt some data, also using AES256 encryption for encrypting the other data.
APIs are built upon PHP 7.1
IIS Server
Library - db_pdo.inc from db_pdo.inc for database transactions (with custom updates)
var $Host = "";
var $Database = "";
var $User = "";
var $Password = "";
var $charset = "utf8";
// Replace your own AES 256 Encryption key
$_CONFIG["aes_enc_key"] = "Your AES 256 Key";
// Replace your own AES 256 Encryption key (used by client app to encrypt data, differs from above key)
$_CONFIG["aes_enc_client_key"]="Your Client AES 256 Encrytion key";
// Replace with your own salt to encrypt data
$_CONFIG["crypto_provider_salt"] = "Your Encryption Salt";
Help improving this project by solving the issues and listed ToDo items.
Copyright 2021 Nirav Madariya
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.