I'll say it again: it has to run fast in ksh. And no, prngd cannot pass diehard. The output from /dev/random and /dev/urandom also flunks diehard for sunos and linux. Passing diehard is tough.
A sample run:
Each of those 2,389,338,000 possibilities must be absolutely equiprobable. And the selections chosen must be completely unpredictable. Achieving both goals simultaneously is not a piece of cake. And yes, RNGs are notoriously non-portable. I want to do all of this in a self-contained portable shell script.
Hi experts,
I'd like to generate the table/file containing:
number of milliseconds elapsed since midnight till midnight.
It should contain 5 columns (hours minutes seconds milliseconds):
Table will have theoretically 86 400 000 rows.
My question is , is there somewhere the file or source... (7 Replies)
Here is my new password generation script. The attachment, swordfish.txt, is in dos format. Remember that you need to use dos2unix or flip or something to get it into unix format.
The script is self documenting. It has an extensive help system built-in. And you can run:
swordfish "set... (8 Replies)
Hi,
I am new to bash scripting and i wanted to make a bash script that will generate a password for a user. The user must enter his/her name and the url of the site the password is used for. And the script will generate a password with those two elements in the password. So if the url is... (0 Replies)
I am using the below to random generate a password but I need to have 2 numeric characters and 6 alphabetic chars
head /dev/urandom | tr -dc A-Za-z0-9 | head -c 8 ; echo ''
6USUvqRB
------ Post updated at 04:43 PM ------
Any Help folks - Can the output be passed onto a sed command to... (9 Replies)
Hello
I use a bash script to creating the hosts file /etc/hosts
But there is a bug inside my output and I want to fix this.
My Array looks like this:
205,IP 111.122.133.20
205,HOST2 unas
205,HOST1 unas15533
205,COMMENT # UNAS
775,IP ... (9 Replies)
Discussion started by: Marti95
9 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT DEBIAN
soap::wsdl::factory::generator
SOAP::WSDL::Factory::Generator(3pm) User Contributed Perl Documentation SOAP::WSDL::Factory::Generator(3pm)NAME
SOAP::WSDL::Factory:Generator - Factory for retrieving generator objects
SYNOPSIS
# from SOAP::WSDL::Client:
$generator = SOAP::WSDL::Factory::Generator->get_generator({
soap_version => $soap_version,
});
# in generator class:
package MyWickedGenerator;
use SOAP::WSDL::Factory::Generator;
# register as generator for SOAP1.2 messages
SOAP::WSDL::Factory::Generator->register( '1.2' , __PACKAGE__ );
DESCRIPTION
SOAP::WSDL::Factory::Generator serves as factory for retrieving generator objects for SOAP::WSDL.
The actual work is done by specific generator classes.
SOAP::WSDL::Generator tries to load one of the following classes:
o the class registered for the scheme via register()
METHODS
register
SOAP::WSDL::Generator->register('Lite', 'MyWickedGenerator');
Globally registers a class for use as generator class.
get_generator
Returns an object of the generator class for this endpoint.
WRITING YOUR OWN GENERATOR CLASS
Registering a generator
Generator classes may register with SOAP::WSDL::Factory::Generator.
Registering a generator class with SOAP::WSDL::Factory::Generator is done by executing the following code where $version is the SOAP
version the class should be used for, and $class is the class name.
SOAP::WSDL::Factory::Generator->register( $version, $class);
To auto-register your transport class on loading, execute register() in your generator class (see SYNOPSIS above).
Generator package layout
Generator modules must be named equal to the generator class they contain. There can only be one generator class per generator module.
Methods to implement
Generator classes must implement the following methods:
o new
Constructor.
o generate
Generate SOAP interface
Generators may implements one or more of the following configuration methods. All of them are tried via can() by wsdl2perl.
o set_wsdl
Set the raw WSDL XML. Implement if you have your own WSDL parser.
o set_definitions
Sets the (parsed) SOAP::WSDL::Definitions object.
o set_type_prefix
Sets the prefix for XML Schema type classes
o set_element_prefix
Sets the prefix for XML Schema element classes
o set_typemap_prefix
Sets the prefix for typemap classes (class resolvers).
o set_interface_prefix
Sets the prefix for interface classes
o set_typemap
Set user-defined typemap snippet
LICENSE AND COPYRIGHT
Copyright 2007 Martin Kutter. All rights reserved.
This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself
AUTHOR
Martin Kutter <martin.kutter fen-net.de>
REPOSITORY INFORMATION
$Rev: 176 $
$LastChangedBy: kutterma $
$Id: Serializer.pm 176 2007-08-31 15:28:29Z kutterma $
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Factory/Serializer.pm $
perl v5.10.1 2010-12-21 SOAP::WSDL::Factory::Generator(3pm)