#!/usr/bin/env perl use Crypt::Nettle::Cipher; my $aeskey = 'Ready to Have Some Fun'; my $input = 'DzQPUdLS0tKCWf9U6V/UDB3aQEUWCQ=='; my $cipher = Crypt::Nettle::Cipher->new('decrypt', 'aes256', $aeskey, 'ctr'); $ciphertext = $cipher->process($input); print $ciphertext . "\n";