3 ms·
The article does this: > openssl aes-256-cbc -a -salt -in for-you.mp3 -out for-you.mp3.enc Here's the KDF for that (in PHP): $round1 = hex2bin(md5($p
by gsylvie 10y ago
The article does this:
> openssl aes-256-cbc -a -salt -in for-you.mp3 -out for-you.mp3.enc
Here's the KDF for that (in PHP):
$round1 = hex2bin(md5($pwd . $salt));
$round2 = hex2bin(md5($round1 . $pwd . $salt));
$round3 = hex2bin(md5($round2 . $pwd . $salt));
$key = $round1 . $round2;
$iv = $round3;
It still defaults to that (I'm on Ubuntu 16.04):
$ openssl version
OpenSSL 1.0.2g 1 Mar 2016
- tptacek 10y agoOw.