/dports/security/p5-Bytes-Random-Secure-Tiny/Bytes-Random-Secure-Tiny-1.008/t/ |
H A D | 22-random_string_from.t | 43 is( $random->string_from( 'abc', 0 ), '', 44 'string_from() with a quantity of zero returns empty string.' ); 46 is( $random->string_from( 'abc' ), '', 47 'string_from() with an undefined quantity defaults to zero.' ); 49 is( length( $random->string_from( 'abc', 5 ) ), 5, 50 'string_from(): Requested 5, got 5.' ); 55 $bag{ $random->string_from( 'abcdefghijklmnopqrstuvwxyz', 1 ) }++; 59 'string_from() returned all bytes from bag, and only bytes from bag.' 63 'string_from(): No out of range characters in output.' ); 66 'string_from():Test validation: took at least 26 tries to hit all 26.' ); [all …]
|
H A D | 23-string_from_unicode.t | 20 my $string = $random->string_from( 'Ѧѧ', $num_octets ); 23 'string_from(unicode): Returned proper length string.' ); 26 'string_from(unicode): String contained only Ѧѧ characters.' ); 33 'string_from(unicode): Ѧ found in output.' ); 36 'string_from(unicode): ѧ found in output.' );
|
H A D | 20-functions.t | 12 my @methods = qw/ bytes bytes_hex string_from /; 46 $bag{ $r->string_from( 'abcdefghijklmnopqrstuvwxyz', 1 ) }++; 50 'string_from() returned all bytes from bag, and only bytes from bag.' 55 like( $r->string_from( 'abc', 100 ), qr/^[abc]{100}$/, 56 'string_from() returns only correct digits, and length.' );
|
H A D | 26-oo_public.t | 22 like( $random->string_from('abc', 100 ), qr/^[abc]{100}$/, 23 'string_from() returns proper length and proper string.' );
|
H A D | 11-load.t | 14 can_ok 'Bytes::Random::Secure::Tiny', qw( new irand string_from bytes bytes_hex );
|
/dports/security/p5-Bytes-Random-Secure/Bytes-Random-Secure-0.29/t/ |
H A D | 22-random_string_from.t | 75 is( $random->string_from( 'abc', 0 ), '', 76 'string_from() with a quantity of zero returns empty string.' ); 78 is( $random->string_from( 'abc' ), '', 79 'string_from() with an undefined quantity defaults to zero.' ); 81 is( length( $random->string_from( 'abc', 5 ) ), 5, 82 'string_from(): Requested 5, got 5.' ); 87 $bag{ $random->string_from( 'abcdefghijklmnopqrstuvwxyz', 1 ) }++; 91 'string_from() returned all bytes from bag, and only bytes from bag.' 95 'string_from(): No out of range characters in output.' ); 98 'string_from():Test validation: took at least 26 tries to hit all 26.' ); [all …]
|
H A D | 23-string_from_unicode.t | 21 my $string = $random->string_from( 'Ѧѧ', $num_octets ); 24 'string_from(unicode): Returned proper length string.' ); 27 'string_from(unicode): String contained only Ѧѧ characters.' ); 35 'string_from(unicode): Ѧ found in output.' ); 38 'string_from(unicode): ѧ found in output.' );
|
H A D | 26-oo_public.t | 37 like( $random->string_from('abc', 100 ), qr/^[abc]{100}$/, 38 'string_from() returns proper length and proper string.' ); 52 my $bytes = $random->string_from( 'abc', -5 ); 55 'string_from(): Throws an exception on invalid byte count.' );
|
/dports/security/p5-CryptX/CryptX-0.075/lib/Crypt/ |
H A D | PRNG.pm | 18 return $self->string_from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", $len); 21 sub string_from { subroutine 72 sub random_string_from($;$) { return $fetch_RNG->()->string_from(@_) }
|
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/ |
H A D | RNG.pm | 25 return _get()->string_from('01', $count);
|
/dports/security/p5-Bytes-Random-Secure-Tiny/Bytes-Random-Secure-Tiny-1.008/lib/Bytes/Random/Secure/ |
H A D | Tiny.pod | 17 my $string = $rng->string_from('abc', 10); # Random string from a, b, & c. 137 =head2 string_from section 139 my $random_string = $rng->string_from('abcdefg', 10); 148 say $rng->string_from('a', 10); # Must always be 'aaaaaaaaaa' 183 This module requires Perl 5.8 or newer. Unicode support in C<string_from> is 253 The C<string_from> method permits the user to pass a "bag" (or source) string 265 is exactly I<why> the C<string_from> method is preferable to a home-grown 267 impact the performance of the C<string_from> method. Any time the length of the
|
/dports/security/p5-CryptX/CryptX-0.075/lib/Crypt/PRNG/ |
H A D | Sober128.pm | 27 sub random_string_from { return $fetch_RNG->()->string_from(@_) }
|
H A D | Yarrow.pm | 27 sub random_string_from { return $fetch_RNG->()->string_from(@_) }
|
H A D | ChaCha20.pm | 27 sub random_string_from { return $fetch_RNG->()->string_from(@_) }
|
H A D | Fortuna.pm | 27 sub random_string_from { return $fetch_RNG->()->string_from(@_) }
|
H A D | RC4.pm | 27 sub random_string_from { return $fetch_RNG->()->string_from(@_) }
|
/dports/math/p5-Math-ProvablePrime/Math-ProvablePrime-0.045/lib/Math/ProvablePrime/ |
H A D | Rand.pm | 35 $rand = Math::BigInt->from_bin( $rng->string_from('01', length $diff_bin) );
|
/dports/security/p5-Bytes-Random-Secure/Bytes-Random-Secure-0.29/lib/Bytes/Random/ |
H A D | Secure.pm | 266 sub string_from { subroutine 387 return $fetch_RNG->()->string_from( @_ );
|
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/cxx-0.5.10/src/symbols/ |
H A D | rust_string.rs | 19 unsafe extern "C" fn string_from( in string_from() function
|
/dports/security/p5-Bytes-Random-Secure-Tiny/Bytes-Random-Secure-Tiny-1.008/ |
H A D | Changes | 18 - Fixed a mistake in the SYNOPSIS. Improved description of string_from.
|
/dports/security/p5-CryptX/CryptX-0.075/t/ |
H A D | prng.t | 54 like($r->string_from("ABC,.-", 45), qr/^[ABC,\,\.\-]+$/, 'string');
|
H A D | prng_rc4.t | 54 like($r->string_from("ABC,.-", 45), qr/^[ABC,\,\.\-]+$/, 'string');
|
H A D | prng_chacha20.t | 54 like($r->string_from("ABC,.-", 45), qr/^[ABC,\,\.\-]+$/, 'string');
|
H A D | prng_sober128.t | 54 like($r->string_from("ABC,.-", 45), qr/^[ABC,\,\.\-]+$/, 'string');
|
H A D | prng_yarrow.t | 54 like($r->string_from("ABC,.-", 45), qr/^[ABC,\,\.\-]+$/, 'string');
|