PHP 클래스 phpseclib\Crypt\Random

저자: Jim Wigginton ([email protected])
파일 보기 프로젝트 열기: phpseclib/phpseclib 1 사용 예제들

공개 메소드들

메소드 설명
safe_serialize ( mixed &$arr ) Safely serialize variables
string ( integer $length ) : string Generate a random string.

메소드 상세

safe_serialize() 정적인 공개 메소드

If a class has a private __sleep() it'll emit a warning
static public safe_serialize ( mixed &$arr )
$arr mixed

string() 정적인 공개 메소드

Although microoptimizations are generally discouraged as they impair readability this function is ripe with microoptimizations because this function has the potential of being called a huge number of times. eg. for RSA key generation.
static public string ( integer $length ) : string
$length integer
리턴 string