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
answer126
viewsDoubt about openssl_encrypt security
Hello, I have some doubts about this method of encrypting data, because I intend to use between version 5.6 and the current version of PHP and I have doubts if it will run smoothly. I have the…
-
0
votes0
answers53
viewsOperations with Bytes vector in C#
I’m new to programming and I’m working on an RSA encryption algorithm. The key generation processes, calculations are almost ready... I have an array of bytes that receives the message typed by the…
-
0
votes1
answer95
viewsReceive data input as Python 3 literal value
Developing an encryption algorithm, at some point the user will insert the message to be decrypted. The message will be inserted in bytes, in the format…
-
0
votes0
answers39
viewsHashing a hash increases security?
Well a colleague of mine has been insisting on the idea of hashing a hash, I think they use in the company where he works The hash is in md5. I’ll explain as an employee: When registering a new user…
-
0
votes0
answers12
viewsSQL Server error in UPDATE column with Always Encrypted
I’m implementing in a bank SQL Server the Always Encrypted which serves to encrypt columns of a table. The process of creating the certificate, link it in a table/cokuna and use it in the SQL Server…
-
0
votes0
answers17
viewsTypeorm filter columns that have been transformed
I used the typeorm-Encrypted, to encrypt columns containing sensitive application data via the parameter Transformer as shown below: @PrimaryColumn() protocolo: number; @Column({ nullable: false,…
-
-1
votes1
answer604
viewsEncryption for wordpress plugin code
I finished a wordpress plugin and do not want to leave open source. I’ve tried to use a simple obfuscator, but after obfuscating the wordpress does not recognize as plugin. Someone has a light on…
-
-1
votes1
answer248
viewsSubstitution of specific words
I want to create a code in PHP in which the user type for example "pedro went to the market" he replaces in some registered words like change the silaba "mer" for copper and the silaba "was" for…
-
-1
votes2
answers924
viewsfgets does not work
I’m developing a code to encrypt in the cesar cipher. The decryption is working perfectly, but to encrypt, the fgets Don’t wait for me to type in the text. I’ve tried everything, the only command…
-
-1
votes2
answers284
viewsPassword encryption in Javascript
I have this snippet of code that makes the sending of user and password to my web service done in Asp C#. function validation(){ var json =({ "emailUser": email, "passwordUser": passWord });…
-
-1
votes1
answer328
viewsHow to increase the number of floats in python
I made a program that encrypts a message, but it doesn’t work when the message is great because the result gets big. I would like to know how to make python show me the result, no matter the message…
-
-1
votes1
answer120
viewsMake an encrypted Mysql database connection
To make a connection to the Mysql database use this code in PHP: $host = "host"; $usuario = "usuario"; $banco = "banco"; $senha = "senha"; $pdo = new PDO('mysql:host='.$host.';dbname='.$banco,…
-
-1
votes2
answers60
viewsEncrypt a python string
I wonder if there is any encryption algorithm where it is possible to choose which key or part of it will be used to encrypt/decrypt the message An example: mensagem = 'string qualquer' chave =…
-
-1
votes3
answers1821
viewsEncrypt/ Decrypt MYSQL/ PHP autoincrement ID
I need to encrypt/decrypt the original Mysql ID printed in HTML, to later revert and receive the original ID in the back end. Ex: $var = $arr['id']; // 120 <table> <tr>…
-
-1
votes1
answer55
viewsConfirmation email with password_hash
When registering on the site, the user receives an email activation of the registration, until then all right. The problem is in checking the password_hash, I know you have password_verify, but in…
-
-1
votes1
answer452
viewsC#hash encryption
I was able to create a registration with an encrypted password, but in the access method (login) I have doubts on how to take the password typed and compare with the password registered with…
-
-1
votes1
answer125
viewsIs there any way to limit the number of characters in a crypt?
I need to encrypt some database keys to decrypt in the future, but all generated messages need to be the same size. md5 has generated messages of the same size, but can not translate back (E is not…
-
-1
votes1
answer327
viewsChanging characters from a python message
I want to make a program that encrypts a message by the polar Zenit method, which consists of exchanging these letters among themselves, changing the text without the use of accents. I can already…
-
-1
votes3
answers96
viewsSystem not identifying encrypted password
So I made a php system linked to my mysql where there is a table called authme and it has the login information, such as password, name and other things more when logging in the system not recognize…
-
-1
votes1
answer208
viewsC# ASP.NET mvc URL encryption
The q method I’m using to encrypt the URL is working, but sometimes it does the encryption with a / in the middle that makes it not find the desired route. public static string…
-
-1
votes1
answer67
viewsHow to create encrypted requirements in the production environment?
I was analyzing a frontend application written in symfony (PHP), and when opening its requestes I came across the contents of this image: I found it interesting because the request name is encrypted…
-
-1
votes2
answers76
viewsEncrypt message through a python socket
I was looking through the internet and found a tutorial that showed how to make a client and server communication through a socket. These are the scripts: Server #!/usr/bin/env python3 import socket…
-
-2
votes1
answer66
viewsGenerate large proportion prime and integer numbers
How would I generate 300-digit Primes for example in PHP? And integers of the same ratio? I need them for use in encryption with Diffie-Hellman.…
-
-2
votes1
answer56
viewsHow to identify the customer by the public key of a certificate
How do I identify the X client, Y client and Z client when they try to authenticate via API... Example... such a customer sends me the key uy2395734asdfas, how do I know that that customer is…
-
-2
votes0
answers12
viewsCryptography in C language
I need to make a pseudo-code to then pass in C-language from a Hill cipher encryption. The phrase to be encrypted will be inserted by the user and the key matrix as well. I cannot use character…
-
-2
votes1
answer92
views:python3 Tkinter Requests: Temporary lock in get('url') with request module!
This is the following I created a script to decrypt hash md5, but when I enter it into Entry 21232f297a57a5a743894a0e4a801fc3 that is admin and is contained in the Wordlist, it hangs every time when…
-
-2
votes1
answer53
viewsPassword Protection in PHP
I have a function implemented in my system that makes the password storage as follows: function codifica($usuario, $senha){ $codifica = crypt($senha,$usuario); $codifica = hash('sha512',$codifica);…
-
-2
votes1
answer432
viewsPassword encryption with Crypto on Node js
Well I have an application that needs a password encryption, I’m using crypto of node js to do the encryption, but I can do the encryption but I can’t decrypt it so I can authenticate the user. You…
-
-3
votes1
answer554
viewsWhat is required to create an authentication system (login/password/session) in PHP? What important points should I be concerned about?
I want to create a website with my own authentication system, without using anything ready. I would like to know what the stages are for the creation of such a system, in order. If there is a…
-
-3
votes1
answer295
viewsHow to generate "unescape" within code
I have a simple unescape encryptor and would like the generated NCO to be within the default code of unescape, like: code I use: var encN=1; function decodeTxt(s){ var…
-
-5
votes1
answer84
viewsCritography in Python
I just entered the programming area and my college ended up applying a work that we will have to create a program in Python that can perform encryption/ decryption of any message, encrypted or not.…