Encrypter
interface Encrypter (View source)
Methods
string
encrypt(mixed $value, bool $serialize = true)
Encrypt the given value.
mixed
decrypt(string $payload, bool $unserialize = true)
Decrypt the given value.
string
getKey()
Get the encryption key that the encrypter is currently using.
Details
string
encrypt(mixed $value, bool $serialize = true)
Encrypt the given value.
mixed
decrypt(string $payload, bool $unserialize = true)
Decrypt the given value.
string
getKey()
Get the encryption key that the encrypter is currently using.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.