All snippets of the tag encode |
 |
1-4 of 4 Entries |
 |
|
urlencode (Perl::Function) |
Created by Marko Schulz at 2010-07-27 15:22:49 |
| # ***************************************
# This function encode a string.
sub urlencode {
my $package = shift;
my ($str) = shift;
$str =~ s/([\W])/"%".uc(sprintf("%2.2x",ord($1)))/eg;
return $str;
} |
|
md5 (Bash::Function) |
Created by Marko Schulz at 2010-02-02 00:34:01 |
| # ***************************************************************************
# This function encode a sting in md5 hash of 32 characters. You can short
# the length with the second parameter.
#
# @param string $1 string (required)
# @param integer ... |
|
crypt (Perl::Scripts) |
Created by Marko Schulz at 2010-01-20 13:48:44 |
| #!/usr/bin/perl
use strict;
# Eingegebenes Passwort...
my $pass='geheim';
# Verschluesseltes Passwort z.B. aus Datei...
my $cpass='XPkzdnI74tF6E';
# **************************************************
# checken ob Eingegebenes Passwort mit dem ... |
|
base64.sh (Bash::Scripts) |
Created by Marko Schulz at 2008-12-27 03:12:32 |
| #!/bin/bash
# *****************************************************************
# file: base64.sh
# date: 2007-11-01 13:00
# author: Marko Schulz - <info@tuxnet24.de>
# description: convert string whith base64.
# *******************************... |
 |
1-4 of 4 Entries |
 |
|