Questions tagged as 'criptografia'

0
answers

Encrypt string for RSA using publickey_mod

How can I encrypt a "text" in RSA using a publickey_mod? This is the return of the site that provides publickey_mod. > {"success":true,"publickey_mod":"b5cd08c28a849de9077e6bd4863dad93a0fea46c3f831910c42b9f6d4fc1c8075f6000292b2b6d73bd813e8e...
asked by 29.07.2018 / 02:13
1
answer

MD5 Encryption asp.net MVC

I have to do an encryption in a web application. I am using the following method to encrypt the password. // Criptografa a senha public string GerarMD5(string Senha) { // criptografia MD5 MD5 md5Hasher = MD5.Create();...
asked by 19.06.2018 / 22:01
0
answers

Encrypt fixed-size files in Arduino with AES

I know that in arduino it is complicated to work with files, however, how can I encrypt a fixed-size file in Kb or in Mb on Arduino using Aes or another encryption algorithm? Does anyone have any ideas ??     
asked by 06.06.2018 / 21:08
1
answer

How to extract the public key from a .pem certificate with OpenSSL

The following command generates a .pem certificate (same as the one used by AWS): openssl genrsa -des3 -out chaveprivada.pem 2048 However, the public and private keys are stored together in the file. How to extract the public key from the...
asked by 16.05.2018 / 22:35
0
answers

How to generate a SHA-3 hash with Crypto ++, using a string as input and output?

Crypto ++ is a non-standard open source C ++ class library of cryptographic schemes. With it it is possible to use the hash function sha-3, however I have no idea how to use this library, even though it has documentation, I still find it confusi...
asked by 19.05.2018 / 19:32
1
answer

Library encryption - Codeigniter

I have a problem, I'm passing an id via GET and I need to encrypt it. So, I decided to use the codeigniter's native encryption library, but when the message is encrypted, it generates many characters, which results in a problem with URL passing....
asked by 12.04.2018 / 20:15
0
answers

How to set character limit in base64 encoder

I have this little system: <?php if (!empty($_POST)) { extract($_POST); $urlEncode = base64($url); } ?> this system I encrypt a url. ex: I put in an input: link it returns encrypted: L1lrYmEvenIrNUthUW4...
asked by 11.04.2018 / 21:12
0
answers

Encrypt PHP texts [duplicate]

I need to save encrypted text to my database, but I need to retrieve it afterwards, I found several examples with a password, but all one-way . and I also do not want to use the base64_encode/decode handle. If anyone can give m...
asked by 21.03.2018 / 14:45
1
answer

Redirect Http to Https - Nginx with let's encrypt

Currently, the domino link is working, but can not redirect link to Link using let's encrypt . I am following this tutorial: Link Below my setting: server { listen 80; listen 443 ssl; server_name meudominio.com www.m...
asked by 21.03.2018 / 14:30
0
answers

Prestashop - Cookie_Key after migration and password encryption

I have a question about the Cookie key and the question of password generation of the platform. I currently have version 1.6.0.14, now I am upgrading to version 1.7.2.4, in a new installation / host, I know that a new key to the cookie is g...
asked by 17.01.2018 / 13:18