Class SimpleID\Crypt\SecureString

final
implements Stringable

A secure string that is encrypted at rest.

The string is encrypted as a Branca\Branca

token when stored. The key is obtained from the SIMPLEID_SECURE_SECRET environment variable (as a binary string), or a file specified by the SIMPLEID_SECURE_SECRET_FILE environment variable.

Methods