AES Encryption is considered a safe encryption algorithm. However, the implementation of AES as described by the Zip file standard (see https://www.winzip.com/win/en/aes_info.html) is sorely lacking in implementation.
The issues with the implementation are not in the execution of AES-CTR itself, but with the PBKDF2 constants used by all existing compatible archiving software. Below is my attempt to improve upon the existing Zip-AES standard as best as possible without interfering with the parent Zip standard or with software that reads or writes Zip files.
Written by Andrew Sachen (2019)
Share and Enjoy (Public Domain)
Cryptocurrency can be as confusing as it is intriguing. It can also be very dangerous. There are also environmental concerns. Those are all outside the scope of this example. This just shows you how to build a valid transaction (in Dogecoin) using only JavaScript within the browser (aside from requesting the transactions to use as Inputs and sending the completed transaction through a public API website).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function parseRequest() | |
{ | |
if (!isset($_POST['username']) || empty($_POST['username'])) | |
return 'You did not enter a username'; | |
if (!isset($_POST['password']) || empty($_POST['password'])) | |
return 'You did not enter a password'; | |
$request = array(); | |
$request['username'] = $_POST['username']; | |
$ePass = $_POST['password']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Title": "Example JavaScript Object Notation Playlist File", | |
"Time": "00:00:10:25.845", | |
"Tracks": | |
[ | |
{ | |
"Title": "Track 1", | |
"Artist": "The Band", | |
"Album": "The Record", | |
"Time": "02:15.600", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:2be391ef8ef9db1e9bf546620b7c73813443493a] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors',1); | |
ignore_user_abort(true); | |
error_reporting(E_ALL); | |
header('Content-Type: text/html; charset=utf-8'); | |
header('Content-Encoding: none;'); | |
$cron = $argv[1]; | |
if ($cron != 'cron') | |
return('This needs to be run from CRON.'); |
NewerOlder