Skip to content

Commit

Permalink
update the decryption key for AnimeDigital
Browse files Browse the repository at this point in the history
  • Loading branch information
K-S-V committed Sep 14, 2014
1 parent b42e8da commit 8ded8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnimeDigital.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Generate key
$td = mcrypt_module_open('rijndael-128', '', 'ecb', '');
$iv = str_repeat("\x00", 16);
$key = pack('H*', "32344150066d43644c5042725d");
$key = pack("C*", 55, 56, 50, 52, 51, 48, 50, 49, 55, 54, 101, 52, 48, 101, 101, 49, 99, 100, 50, 48, 49, 54, 97, 53, 48, 102, 100, 55, 55, 55, 51, 101);
$key = $key . str_repeat("\x00", 32 - strlen($key));
mcrypt_generic_init($td, $key, $iv);
$key = mcrypt_generic($td, $key);
Expand Down

0 comments on commit 8ded8e0

Please sign in to comment.