Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Novo comando: /encrypt string #20

Open
vitor-sanc opened this issue Feb 12, 2021 · 0 comments
Open

Novo comando: /encrypt string #20

vitor-sanc opened this issue Feb 12, 2021 · 0 comments
Assignees
Labels
admin-only Features that must be used ONLY by the admins enhancement New feature or request good first issue Good for newcomers

Comments

@vitor-sanc
Copy link
Contributor

Será utilizado para encriptar a string passada como argumento e retornar, por mensagem, a mesma string criptografada.

Motivo: não é possível fazer queries no MongoDB utilizando as strings originais, visto que elas estão criptografadas. Portanto, usaremos esse comando toda vez que quisermos achar ume usuário por username, parte da descrição ou nome.

ATENÇÃO: Testar se realmente funciona. Se a função encrypt (que já está feita) retornar uma string diferente daquela que está no banco para o mesmo conjunto de palavras, então essa feature será inútil.

@vitor-sanc vitor-sanc added enhancement New feature or request good first issue Good for newcomers admin-only Features that must be used ONLY by the admins labels Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-only Features that must be used ONLY by the admins enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants