I recently installed the Crypt::OTP module, and I'm having trouble getting it to work properly (or it is working properly, and I've misunderstood the situation). Could you tell me why $cip is coming up empty?
#!/usr/bin/perl use Crypt::OTP; use strict; my $pad = "ABC"; my $mes = "BAD"; my $cip = OTP("$pad", $mes, 1); print "Key | $pad |\n"; print "Message| $mes |\n"; print "Cipher | $cip |\n";
In reply to Crypt::OTP issue by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |