in reply to Re: Rewriting a C# Encryption Function
in thread Rewriting a C# Encryption Function
use strict; use MIME::Base64; use Digest::SHA1 qw/sha1 sha1_hex sha1_base64/; use Encode qw/encode decode/; my $data = encode("UTF-16", 1234); $data = sha1($data); print encode_base64($data) . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Rewriting a C# Encryption Function
by gone2015 (Deacon) on Aug 22, 2008 at 23:35 UTC | |
by bkiahg (Pilgrim) on Aug 25, 2008 at 14:26 UTC |