EncryptPassword class

Clase que se utiliza para la encriptación de contraseñas en la aplicación.

Esta clase proporciona un método estático para encriptar contraseñas utilizando el algoritmo de hash SHA-256, permitiendo mantener la seguridad de las credenciales de los usuarios sin necesidad de repetir el código en diferentes partes de la app.

Constructors

EncryptPassword()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encryptPassword(String password) String
Encripta una contraseña utilizando el algoritmo SHA-256.