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
-
1
votes2
answers445
viewsDiffie-Hellman group key exchange
How to make a key exchange Diffie Hellman with 10-20 people for example, has as?
cryptographyasked 9 years, 9 months ago Gabriel Henrique 375 -
1
votes0
answers362
viewsDecrypt xml file by passing certificate password
I need to decrypt an XML file, but already passing the certificate password. I can do similar actions, such as signing the file without the certificate driver requesting the password. Follow:…
-
1
votes1
answer1192
viewsHow to encrypt and decrypt data to be transmitted via sockets?
I have a program that logs in with my server, however the connection is without any protection. I looked for some ways to protect but it seems that some of them have a pass code on the client, but I…
-
1
votes0
answers194
viewspowershell script for offline office key decryption
I removed from a PC "dead" the key from office 2007 that was in the register Now he was modifying the popular " Search-Registrykeyvalues " script to directly pass the decryption value. But I’m not…
-
1
votes2
answers1217
viewsUser Password Validation Issue (php, mysql, crypt)
I’m just trying to validate the password entered with the password stored in the bank, and the password stored in the bank was encrypted. The problem is that I type the correct password, my function…
-
1
votes0
answers85
viewsAES256 encryption with JCE
I am using AES256 encryption in a communication project and would like to know if there is any restriction on using this encryption with the Java Cryptography Extension Unlimited Strength…
-
1
votes1
answer217
viewsAES128/256 C#. net AND SQL 2008/2012 encryption
Greetings, Does anyone know of any AES compliant encryption implementation between c# and SQL? I want to encrypt in C# and decrypt in SQL.
-
1
votes1
answer630
viewsEncrypt Sqlite3
There is a free way to encrypt Sqlite3 database? I’ve seen some pretty expensive proprietary software.
-
1
votes1
answer148
viewsEncryption of a C#class
I have the following code in PHP: $params = json_decode(trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $api_secret, base64_decode($enc_request), MCRYPT_MODE_ECB))); Where the result is an array and not a…
-
1
votes2
answers1965
viewsEncrypt passwords as securely as possible
I wonder how to encrypt passwords on Android and what are the best practices. I am using Eclipse, Sqlite database to store the password locally and Mysql with PHP to store on the server via…
-
1
votes1
answer602
viewsEncryption of GET and POST request parameters
I am beginner in java and I am studying java web, mainly servlets and JSP. And I need to develop a web application as a college job, focused on security. For this I would like to encrypt the URL’s…
-
1
votes0
answers228
viewsUsing asymmetric encryption between Xamarin PCL Client and Web Api
I have a problem creating an asymmetric encryption between my client App using Xamarin Forms (PCL) and the server (Web Api). I did it using symmetry and they asked me to modify it. I already do…
-
1
votes1
answer1037
viewsDoubt about Caesar’s cipher
The problem is that I need to stop printing when it reaches the last digit of the vector only I don’t know how to do, and also how I will print after z, because the way I did it didn’t print ? ( I’m…
-
1
votes1
answer311
viewsSet cryptographic key fixed
The code below is working perfectly for both encryption and decryption, however, when closing the app and putting the generated code before closing it (I open the encryption app a word and close the…
-
1
votes0
answers509
viewsEncrypt JS/PHP GET parameter
What is the best way to traffic data between JS and PHP vie GET method? Imagine a $http request made on Angularjs passing ex parameters: minhaurl? id=2&name="Joao" The ideal would be to encrypt…
-
1
votes1
answer133
viewsClient Encryption / Server / File / Obfuscator
Hello, I’m creating a Java game using Libgdx, but I want to know some things. What is the best encryption for communication between Client / Server (for no one to intercept the package I send) What…
-
1
votes1
answer769
viewsHow to decrypt encrypted email in SHA-256?
I’m encrypting an email and saving it in the bank, how do I decrypt that same encrypted email. Follow the code I used to encrypt. public String getEmailCriptografado(String email){ email =…
-
1
votes0
answers169
viewsHow to pass C# pro PHP encryption
Guys I have to pass numerical information from a C# application to a php function in order to have a minimum security.I have to pass the points of my application (game) to the bank and want, to…
-
1
votes1
answer368
viewsWhat is a cipher?
Several times I find some questions related to ciphers here in the ORpt. However I did not find any definition of it. So, What would be a cipher and what its function? I saw that there are several…
-
1
votes1
answer401
viewsSript PHP with secure connection on all pages
I developed a small system in PHP that performs the registration of resumes. Host at Hostgator. On the contracted plan, I am entitled to a free Private SSL, so I requested the installation of the…
-
1
votes1
answer4088
viewsHow does the DES algorithm work?
I am in doubt about how the Data Encryption Standard works, someone could explain in a didactic way?
-
1
votes2
answers1178
viewsDecrypt a code (as I understand it is in ASCII)
Well, basically I’d like to know if there’s any way to turn a script written in ASCII into Characters and if there is, how would I turn it? Code (1) local code =…
-
1
votes1
answer95
viewsDo I need Coins (or any other currency) running on a blockchain?
I need Coins or any other currency to have an app running on a blockchain?
-
1
votes1
answer140
viewsAES JSF encryption
I have a problem with Seguinte, I have an AES encryption algorithm. When I run it by main it works, but when I run it on a jsf page and decrypt the text it returns several ???? when it contains…
-
1
votes1
answer76
viewsDoubt about Null Byte in Bcrypt PHP
Well, I learned that PHP’s Bcrypt is vulnerable to Null Byte. What are the tests I have to do to see this vulnerability, and what are the conquencias of it??
-
1
votes0
answers162
viewsWeb.config encryption and RSA key container
It’s been discussed how encrypt Web.config, has also been discussed as use encrypted Web.config, but my doubt is as follows: If you are using the default provider Rsa Protected Provider to perform…
-
1
votes1
answer566
viewsDecrypt sha512
Is it possible to decrypt sha512? If you do have a website with the algorithm or a Node package that you can tell me about?
-
1
votes1
answer3134
viewsWhich password encryption should I use with Node.js? which one is more secure?
I am taking a course of Node.js and in this the tutor uses md5 to encrypt the password.. more read in some articles that md5 ñ is very safe.. which is the most recommended to use with Node.js? Thank…
-
1
votes0
answers30
viewsHow to define characters to use when creating a salt
I need to generate a salt, but I need all characters to be part of a list of numbers and letters. string usedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; Gero the salt…
-
1
votes1
answer242
viewsHow to return to the beginning of a C#Array
I have to develop a code where he does the Cesar Cipher encryption, the characters I should use should be in this sequence; A~Z,(blank space),0~9. I’ve developed most of the code, only I ran into a…
-
1
votes0
answers129
viewsAES decryption
I got a file today .txt, within it one of the columns is encrypted. I have already imported it into SQL Server 2012. The client gave me chave and told me it was encrypted AES 128 ECB How do I…
-
1
votes2
answers666
viewsProblems with Bcrypt password
In my script I use the bcrypt function (through a class), and I have the following problem: At the time I perform the last queries before login I need to make the query where the encrypted email and…
-
1
votes0
answers35
viewsSQL Server Base with encrypted columns
I have an SQL database in which I encrypted some columns following the steps of the following explanation: https://www.devmedia.com.br/criptografia-de-dados-no-sql-server/37027 I basically created…
-
1
votes0
answers179
viewsWhere to store private key generated in Webservice?
I have the following scenario: (and unfortunately I can’t change anything in the infrastructure, but I can change anything in relation to the code of the Application and the Webservice) An intranet…
-
1
votes1
answer107
viewsEncrypt password in groovy
I am developing an application that will have a login screen that will be based on data (user, password) already saved in a database Mysql, and so I thought I would apply the same Hash which was…
-
1
votes1
answer371
viewsHow to encrypt data in App.config
I would like to encrypt the Keys (Apikey and Secret) below in App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version="v4.0"…
-
1
votes1
answer371
viewsProtection of sensitive data in your database
What is the most appropriate way to protect sensitive data such as: CPF, credit card number, cvv, expiration date, etc. I have never had to store this kind of data in my applications, because I use…
-
1
votes1
answer426
viewsRijndael encoding based on 64 in C#
I’m doing a Rijndael encryption and I imagine I’m close to finishing it, but when I decrypt I’m in error: Invalid length of data to be decrypted. using System.Text; using static Array; class…
-
1
votes0
answers68
viewsDecrypt IMAP email?
I am receiving emails in my application through IMAP, and everything is appearing in the right way except the text that is encrypted, how do I decrypt or set up so it is not encrypted?? I’m using…
-
1
votes0
answers536
viewsHow to encrypt a file using c#?
I need to create a function to encrypt files using the Caeser method without using the ready-made functions of the C#library. My code does not work for large files the computer hangs: public static…
-
1
votes1
answer90
viewsAlgorithm bugs that encrypt text
I’m writing an algorithm that encrypts text using a word as a password, Vigenère cipher. Upper and lower case characters should encrypt, special characters and numbers should be ignored. My…
-
1
votes1
answer1748
viewsHow to implement a Python permutation algorithm?
I’m trying to implement a Python permutation algorithm. He receives as input a phrase and a key (numerical value) which corresponds to the number of letters that each group should have, and finally,…
-
1
votes1
answer417
viewsEncryption library - Codeigniter
I have a problem, I’m running an ID through GET and I need to encrypt it. So, I decided to use the codeigniter: Encryption native library, but when the message is encrypted, it generates many…
-
1
votes0
answers109
viewsConvert Publish JAVA key encryption to C#
I need to send a hash encrypted in c# but the API so me this possibility in java, has how to follow this logic and apply in C# ? try { try { cipher = Cipher.getInstance("RSA/None/PKCS1Padding",…
-
1
votes1
answer273
viewsProblem when trying to encrypt and decrypt using RSA
Hello, I’m making a program that encrypts a user-generated file and then decrypts the encrypted file showing the original message. Nor the RSA implementation code of Bouncing Castle but saving the…
-
1
votes1
answer163
viewsPadding error encrypting AES CBC mode with Pycrypto
I have the following code working perfectly: from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad key = b'Sixteen byte key' data = 'some text to encrypt'.encode("UTF-8") data =…
-
1
votes1
answer166
viewsCan I use a combination of different algorithms to generate a password hash?
I’m having a question here, I ran some tests on the local server, and I was wondering if anyone has done anything like this, and if the database supports that many characters. The idea of merging…
-
1
votes0
answers103
viewsHow to encrypt Jwplayer video upload code
Ola would like to know how I can perform an encryption in the source code in a specific area of Jwplayer using php or javascript, to cover the player’s working data as well as the video file url.…
-
1
votes0
answers90
viewsHow to create a KEY and IV for Crypto
Hi, I’m trying to make an AES-256-cbc encryption, and I’m having trouble creating a Key and an IV... I tried to use crypto.randomBytes(32) crypto.randomBytes(16) 32 to key, and 16 to IV. That way…
-
1
votes0
answers38
viewsAlways Encrypted: How to insert in encrypted column?
First I tried it: DECLARE @test varchar(50) = 'test' insert into Customer values ('Lucas', 'Test', @test) But you made that mistake: Encryption scheme mismatch for columns/variables '@test'. The…