PHP 클래스 ParagonIE\Halite\HiddenString
The purpose of this class is to encapsulate strings and hide their contents
from stack traces should an unhandled exception occur in a program that uses
Halite.
The only things that should be protected:
- Passwords
- Plaintext (before encryption)
- Plaintext (after decryption)
This library makes heavy use of return-type declarations,
which are a PHP 7 only feature. Read more about them here:
파일 보기
프로젝트 열기: paragonie/halite
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 상세
HiddenString constructor.
Hide its internal state from var_dump()
Wipe it from memory after it's been used.
Optionally, it can return an empty string.
Explicit invocation -- get the raw string value
프로퍼티 상세
$disallowInline 보호되어 있는 프로퍼티
Disallow the contents from being accessed via __toString()?
protected bool $disallowInline |
리턴 |
boolean |
|
$disallowSerialization 보호되어 있는 프로퍼티
Disallow the contents from being accessed via __sleep()?
protected bool $disallowSerialization |
리턴 |
boolean |
|
$internalStringValue 보호되어 있는 프로퍼티
protected string $internalStringValue |
리턴 |
string |
|