Skip to content

Instantly share code, notes, and snippets.

AES-256 encryption and decryption in PHP and C#

Update: There is a more secure version available. Details

PHP

<?php

$plaintext = 'My secret message 1234';
@jahidblackrose
jahidblackrose / .php
Created May 27, 2021 06:52 — forked from marufsharia/.php
Bkash Merchant Payment Verification
<?php
// # # # # Route # # # #
Route::PUT('bkash-payment', 'BkashController@bkash');
// # # # # Controller # # # #
@jahidblackrose
jahidblackrose / google_chart_php.php
Last active October 25, 2020 04:53 — forked from chasewoodford/weight-tracker.php
Populate Google Charts via PHP database query
<html>
<head>
<title>Weight Tracker</title>
</head>
<body>
<?php
$username = "";
$password = "";
$hostname = "";
@jahidblackrose
jahidblackrose / cloud_vision_with_postman.txt
Created October 19, 2020 17:47 — forked from akexorcist/cloud_vision_with_postman.txt
Test Code for Cloud Vision API -
=======================================
Post Method
=======================================
https://vision.googleapis.com/v1/images:annotate?key=your_api_key
=======================================
Body (Raw Text/JSON)
=======================================
{
@jahidblackrose
jahidblackrose / cloud_vision_with_postman.txt
Created October 19, 2020 17:47 — forked from akexorcist/cloud_vision_with_postman.txt
Test Code for Cloud Vision API -
=======================================
Post Method
=======================================
https://vision.googleapis.com/v1/images:annotate?key=your_api_key
=======================================
Body (Raw Text/JSON)
=======================================
{