Most voted "cryptography" questions
Cryptography is the study and practice of the logical means used to obtain the confidentiality, integrity and authenticity of information. It encompasses among other things encryption or encryption (making data unreadable except by someone who knows a secret element, called key), hashing (in particular for storing passwords) and digital signature (proof of authenticity and integrity, in addition to irretractability).
Learn more…281 questions
Sort by count of
-
0
votes1
answer98
viewsRsacryptoserviceprovider, Sslstream(Openssl) - Encrypt, Decrypt
After server authentication from the certificate generated with openssl. sslStream.AuthenticateAsClient(serverName); Client data encryption is done as follows: string messsage =…
-
0
votes2
answers2674
viewsHow to work with Base64 encryption in Mysql?
I need to work with encryption in Mysql and need to use base64 because hearing that MD5 has a small flaw that allows it to have two distinct passwords with the same MD5. I need to encrypt and…
-
0
votes2
answers335
viewsHow to decide which cryptographic hash to use?
I would like to know in which cases I should use the various existing hash, because I know there are big differences between security and processing between them. Is there any considered the best…
cryptographyasked 9 years, 9 months ago Giovani 2,875 -
0
votes1
answer1168
viewsPassword encryption in login
I need to create a way to encrypt my password in my system login, because I haven’t implemented this security yet and I don’t have much idea how to do this. So how could I create this encryption and…
-
0
votes1
answer181
viewsInterpretation, Mtproto Encryption
Can someone help me interpret this part? from Mtproto Before a message (or a concatenated message) that is being transmitted on a network using a transport protocol, which is encrypted in a certain…
-
0
votes0
answers324
viewsIs there any way to encrypt the Firebird Embedded database?
I intend to use the Embedded version of Firebird on my application server. Is there any way to encrypt and use this database as in Sqlite?
-
0
votes0
answers46
viewsEncryption function better than md5?
I read a couple of articles about the encryption md5 should no longer be used, since it is not considered safer (also pudera, in 5 minutes I enter a any website and break such a password). I have…
-
0
votes0
answers913
viewsEncrypt a String for RC2 in Javascript
There is a way to use RC2 encryption through some Javascript function? I’m making a mobile application where her validation token needs to be through this encryption because the rest of the system…
-
0
votes1
answer1075
viewsDecrypt XML with digital certificate private password
I need to decrypt this XML: <?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">…
-
0
votes0
answers78
viewsFriedman’s Test Κ
I have a question. I read that the Κ test of Riedman was something like this: Friedman’s Κ test attempts to figure out the period of the cipher by calculating several values of Κ(C,C n)n, where C n…
-
0
votes1
answer309
viewsSymmetric Swift encryption
I’m new to Swift, and I’d like to encrypt a string, using some symmetric encryption algorithm so that it’s possible with the same decryption key. I would like to know how this can be done in the…
-
0
votes5
answers6291
viewsEncrypt string based on a php keyword
I would like to know if there is a way to encrypt a string reversibly based on a password. In order to decrypt it is necessary to know the password. Just as base64_encode() and base64_decode() but…
-
0
votes0
answers97
viewsEncryptar/Decryptar strings with Delphi
For knowledge purposes, I would like to create my own not very complex function to encrypt and decrypt program strings. I got this piece of code from the Internet s1[1] := Char((Byte(s1[1]) shl 4)…
-
0
votes0
answers57
viewsEmail and password visibility after Ubmit (Facebook)
I have a question about passwords. I decided to do an "experiment" to see the security of data sent by forms, and even using security protocol I noticed that it is literally possible READ AND SEE…
-
0
votes0
answers34
viewsHow to use Salt correctly with MD5
I’m using Apache Commons Codec to encrypt system users' passwords. Ex: DigestUtils.md5Hex(usuario.getSenha()) The problem is that depending on the password it can be easily broken, so I thought to…
-
0
votes1
answer751
viewsBase64 and MD5 - Java
What are the differences between MD5 and Base64 for encryption? Which is the safest? I read that the MD5 is the most used, but I wanted to understand the reason.
-
0
votes1
answer85
viewsDoubt about cryptography
I’m looking at how encryption works though, I’m having a doubt almost all examples encryption codes have a Plaintext String, follow the link from one of the post I looked at:…
-
0
votes1
answer227
viewsWhat kind of encryption is that?
I ran into this guy: $2a$08$Cf1f11ePArKlBJomM0F6a.xzfpEexCPc/xm.u/Tv/pK6K..cagbv. encryption in a client’s database but I don’t know, someone knows what it’s about?
-
0
votes1
answer1571
viewsMD5 encryption in Java?
I’m creating a program that takes a login and a password and encrypts it using MD5,I know that MD5 is not an algorithm that you can call encryption,but is actually a hash,but it does not matter,…
-
0
votes1
answer199
viewsHiding AES decryption key in android app
How can I not only hide AES keys but also encrypt and decrypt using predefined keys/commands in a native library(Encounter.), so that I can compile and include it in my android app. That is, calling…
-
0
votes1
answer56
viewsHow to use Rncryptor and Firebase?
I’ve been researching ways to encrypt the user data of an Android application that uses Firebase. In this article Rncryptor is recommended, but without details of the implementation. I found this…
-
0
votes1
answer529
viewsencrypt files
I wonder if there’s any way to encrypt videos, images, etc.... not just text, with PHP, SQL, some language WEB, I am wanting to do something that keeps file security, that if the person is going to…
-
0
votes0
answers60
viewsHow to store images in Mysql
Speaks guys, I’m having a question: register image with encryption( that is only codes in DB ) or register local image, and save the image in a folder? NOTE: I don’t know if registering in the BD…
-
0
votes1
answer106
viewsEncrypt critical data in the database
Thinking about security, and minimizing the problems in case someone disabled can have remote access to the database server, I thought to encrypt the critical data. Critical data examples (defined…
-
0
votes0
answers507
viewsEncrypt in php and decrypt in javascript
Want to store in a text file, at the root of my application, a key generated by PHP, as a salt. That key would help encrypt passwords, database access information. That is, such information would be…
-
0
votes2
answers1889
viewsHow to extract the public key from a certificate . pem with Openssl
The command below generates a certificate .pem (equal to those used by AWS): openssl genrsa -des3 -out chaveprivada.pem 2048 However public and private keys are stored together in the archive. How…
-
0
votes0
answers39
viewsEncrypt fixed-size files in Arduino with AES
I know that on Arduin it is difficult to work with files, however, how can I encrypt a file of fixed size, in Kb or Mb on Arduin using Aes or other encryption algorithm? anyone has any idea??…
-
0
votes1
answer87
viewsPython function equivalent to Crypt in PHP
I have a program in PHP that encrypts a password with the method crypt: $crypt = '$1$/E0xe3/3$yPzJElk.aVSd5JoQTopDZ/'; if($crypt == crypt($_POST['key'],$crypt)) And with that I get the following…
-
0
votes1
answer950
viewsEncryption BASE64
I am concluding a college job, and I would like to know a topic that I did not find in Portuguese on the Internet. What are the benefits of Base64?
-
0
votes1
answer214
viewsWhat is the best and safest way to identify a device in the webservice?
I am developing an APP (currently only Android - pure Java), it consumed a webservice made in PHP (using the mini Framework Silex). As we know today we have to protect everything to the fullest, so…
-
0
votes1
answer1721
viewsHow to find private bitcoin address key?
How do I get the private key from the data below? KEY PUBLIC: 04f2327c57013916e94041ee3ee6f7fcb3dd9cc92c1b7900f51ddfa277eac6b1e175d825d8ce295502cee0f912a18c15cdf2051a16b1d658c64d3b4b3aa4536cf5…
-
0
votes1
answer775
viewsHow to correctly invoke and use js-hs1?
I need to encrypt a phrase with SHA1, but as I get nothing back I believe I’m not doing it right! Someone knows how to do it right? I have the following excerpt from a script, where I have a…
-
0
votes2
answers207
viewsLogin comparing user input to encrypted data in Mysql
I’m having trouble finding a way to compare the data entered by the user in a jPasswordField on the Login screen and compare with the encrypted password in AES and saved in the Mysql database. Can…
-
0
votes1
answer277
viewscreation of password in the standard
Good morning to all!! How do I create a password in the style of passwords created by Windows? for very particular reasons I need to use the Laravel users table, but it is my parallel application…
-
0
votes1
answer115
viewsImage file encryption with c#
Hello. I receive an array of bytes containing the image. I need to record this image in an encrypted file and not the encrypted content and save it to directory. How to do this directly without…
-
0
votes0
answers47
viewsEncrypt within the Database
Hello! I’m making a process for entering user data and would like to know how to encrypt the password field within the process. My table: create procedure cadUsuario( @nome varchar(100), @email…
-
0
votes1
answer261
viewsEncrypting passwords in web application
I am developing a web application in play framework 1.4 and implemented the critptography of passwords using CRYPTO, but it is not encrypting and consequently decrypting, where I am wrong? In the…
-
0
votes1
answer71
viewsError in encryption program c#
Hello, I am trying to run my program done in c# with Windows application, but it is giving a build error that I am not able to solve. I thank anyone who can help me ! Thanks ! ( The error is…
-
0
votes1
answer384
viewsDownload an encrypted file from a url
I have this URL, it’s an encrypted Whatsapp image: https://mmg-fna.whatsapp.net/d/f/Agli1Cej_5hAtjpKhGZ3xl2TKU9dWRXcOE_k0KLvJOWZ.enc And this is the key to decrypting:…
-
0
votes1
answer109
viewsFalse error opening decrypted document with Python Crypto library 2.7.9
I tested the following script in Python, using Python 2.7.9, with some adaptations made by me, available at…
-
0
votes1
answer153
viewsRedirect Http to Https - Nginx with Let’s Encrypt
At the moment, the domino https://meudominio.com is working, but I can’t redirect http for https using the Let’s Encrypt. I’m following this tutorial: Link Below is my configuration: server { listen…
-
0
votes1
answer4801
viewsHow to encrypt password with Python
I need to encrypt password using Python, from what I saw in examples in PHP, they use a "module" that encrypts the password and which in theory does not decrypt, to validate the password they…
-
0
votes1
answer311
viewsMD5 Asp.net MVC encryption
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…
-
0
votes1
answer1893
viewsCryptography in C
I am developing a program in C, which 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 Cryptography, I am able to…
-
0
votes1
answer75
viewsPHP writing encrypted javascript
I have a question about a javascript obfuscator made in php.. https://damidev.000webhostapp.com Can someone help me understand how this guy did the encryption? every time the obfuscated code is…
-
0
votes2
answers353
viewsHow can I encrypt a user input text? giving error
from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding from…
-
0
votes1
answer98
viewsstr Object has no attribute 'Encrypt'
I made a program that generates a public key and another private key, serializes them and saves them in a .key. Dai tried to create another program to encrypt and decrypt a message with these two…
-
0
votes1
answer330
viewsHow can I keep the private and publish key for later use? Since the program always generates different keys?
Well, I wish I could 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…
-
0
votes1
answer66
viewsHow to remove PHP Randomization encryption
I have a code but every time when updating the page it generates a random encryption key, I would like to know how to leave it to generate a unique key for each url, below follows the code: $gKey =…
-
0
votes2
answers552
viewsChanging character values in C
I’m trying to change the value of the characters by adding the current value plus some value provided by the user: char texto[7] = "barfoo"; int tamanho = strlen(texto); for(int i = 0; i <…