Questions tagged as 'criptografia'

2
answers

Why is the last letter of my code replaced by a question mark "?"?

The teacher asked for semester work a code in C # that encrypts a text from a file. The code is still not polished or anything, I'm only doing the brute then I'll add more things, but my problem is that every time the last letter of my text c...
asked by 02.11.2016 / 15:17
2
answers

Encryption with Java

I need to do data encryption in a user authentication session, and I would like to know the best, and safest way to work with Java encryption. If it's using Salt, MD5, AES, SHA, or other? What API's recommended for this job? What are the advanta...
asked by 17.07.2014 / 15:23
1
answer

Encryption and Encryption Android

I'm trying to learn how to use encryption to encrypt and decrypt messages. I have a class called Encripta that has the methods, the encryption works perfectly. My method to decipher encryption decrypt , returns the following l...
asked by 22.02.2016 / 20:09
2
answers

Encryption with bcrypt + random salt

I have a simple question about encryption using bcrypt with salt. When in old projects I used md5, to verify in a login form if the user entered the correct password and to authenticate, it was usual to take the value that the user typed and...
asked by 26.09.2017 / 19:59
3
answers

Generate 32-character MD5 password with CryptSharp

I am using the CryptSharp library to generate password in MD5. I had read that MD5 generates string with 32-character hexadecimal but is generating 34 and with several character types. Generating in this format:    $ 1 $ gSUz3sUo $ mFPQB05...
asked by 14.07.2014 / 16:51
1
answer

How to insert an encrypted field into a table in PostgreSQL?

I wanted to know how to insert an encrypted field into a table in the database. To illustrate my question let's suppose I have the following java class: package pessoa; public class Pessoa { private String email; private String senha...
asked by 25.09.2015 / 23:07
1
answer

How to encrypt a pendrive in C?

First of all, I have a security idea, and to put this idea into practice I would need to learn how to encrypt a USB stick. The idea is that the pendrive works as a 'key', and at the same time this pendrive can not be easily accessed (hence th...
asked by 18.08.2016 / 15:36
2
answers

python - Delete characters from the end of a string

Is there any way to delete characters at the end of a string in python? For example:     a="ABCDEFGHIJKLMNOPQRSTUVWXYZ"     B="ABCDEFGH" I need the string "a" to be the same size as "b", is it possible? I need them the same size to do a cr...
asked by 15.04.2017 / 15:39
1
answer

Cryptographic test diverging from class execution

I made my java class for encryption using AES. But I went to test her on this site here: link    java class: text : test key : abcdefghijklmno1 result : 5brjBUDRtK7OzHLZf / Pv9A == but the result of the site was different: 9rHpDdo...
asked by 26.09.2016 / 15:54
1
answer

SSL Encryption Socket Java

I'm having second thoughts about the Java Socket SSL. I have seen on several sites that the SSL Socket connection is encrypted, but none of the sites gives me information on how this works right. How do I know the message is being encrypted...
asked by 07.09.2014 / 05:37