in reply to
AES/ECB/PKCS#5 encryption
Figured it out. Calculated by using the following: my $pad = 16 - length($packed) % 16; my $padded = $packed . pack("C*",($pad)x$pad); my $token = $crypt->encrypt($padded);
Comment on
Re: AES/ECB/PKCS#5 encryption
In Section
Seekers of Perl Wisdom