Help for this page

Select Code to Download


  1. or download this
    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    ...
            byte raw[] = md.digest(); 
            return (new BASE64Encoder()).encode(raw); 
        }
    
  2. or download this
    use Digest::SHA;
    use utf8;
    ...
            foreach $val (@z) {
                print $val;                 
            } print "\n";