Questions tagged as 'criptografia'

1
answer

Search database with encrypted data

I have a database where the inserted data is encrypted through a function written in PHP, this function encrypts and decrypts. I need to search this table. For example, I search for "BRAZIL", but in the table "BRAZIL" is encrypted as: cd...
asked by 28.01.2015 / 16:40
1
answer

'str' object has no attribute 'encrypt'

I made a program that generates a public key and another private key, serializes them and saves them to a .key file. Dai I tried to create another program to encrypt and decrypt a message with these two keys generated in the other program, how c...
asked by 19.10.2018 / 21:05
2
answers

How can I encrypt an input text by the user?

from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding from cryptography.hazmat.primitives.asymmetric import rsa #gerando a chave p...
asked by 19.10.2018 / 22:06
1
answer

What password encryption should I use with Node.js? Which is safer? [closed]

I am doing a course of node.js and in this the tutor uses md5 to encrypt the password .. more read on some articles that md5 ñ is very safe .. what is the most recommended to use with Node.js? Thank you!     
asked by 02.05.2018 / 00:38
1
answer

C-Cryptography

I'm developing a C program that will be able to encrypt and decrypt texts and save them to disk separately. I want to use the ASCII table for the implementation of Encryption, I am able to encrypt but at the time of reversing the text I am ha...
asked by 25.06.2018 / 00:24
1
answer

False error when opening decrypted document with Crypto library of Python 2.7.9

I tested the following script in Python, using Python 2.7.9, with some adaptations made by me, available at link : # Cifra e decifra documentos nos formatos .pdf, .docx e .rtf # Adaptacao de Marcelo Ferreira Zochio from Crypto import Random...
asked by 30.10.2017 / 18:37
1
answer

What encryption is this? [duplicate]

I came across this type: $2a$08$Cf1f11ePArKlBJomM0F6a.xzfpEexCPc/xm.u/Tv/pK6K..cagbv. encryption in a customer database but I do not know, does anyone know what it is?     
asked by 04.04.2017 / 06:41
1
answer

BASE64 Encryption [duplicate]

I'm completing a college job, and would like to know a topic I did not find in Portuguese on the internet. What are the benefits of base64 ?     
asked by 12.11.2018 / 13:00
1
answer

How can I save the private key and publish it for use later? and the program always generates different keys?

Well, I would like to be able to save the private key and publish it to use later to encrypt and if someone wants to decrypt my message, but every time the program generates a new key. How can I save the keys and then use it later to encrypt or...
asked by 25.10.2018 / 07:41
1
answer

What is the Python function equivalent to Crypt in PHP

I have a program in PHP that encrypts a password with the crypt method: $crypt = '$1$/E0xe3/3$yPzJElk.aVSd5JoQTopDZ/'; if($crypt == crypt($_POST['key'],$crypt)) And with that I generate the following hash of this password: *...
asked by 07.08.2018 / 20:39