Newest encryption Questions

Q&A for professional and enthusiast programmers

Pin pad encryption technique

what are the steps for pin pad encryption techniques in Point Of Sales (POS) terminals used in banks. Please elaborate those steps too.

S-box in AES CCM 128 bit

I am working on encryption & decryption of data using AES-CCM. While studying AES, I came across a word called S-Box. What is S-Box, and the relationship with AES? How can it be calculated? Is ...

OpenSSL, decrypting with a private key

Okay, so I have a text file named Kryptert that is encrypted. A key file named private with the private key. I want the output to be in a text file named Klartext. I am about to rip my hair out, ...

How to protect data in Documents directory with encryption?

I have an app that downloads several pdfs and images and save them in the Documents directory. I need these files to be protected by everyone who try to access them via tools like iExplorer. I found ...

Mutual Authentication over SSL in Clojure 1.6 HTTP-Kit

I am a newbie at the whole 2 way authentication over SSL. I have a project where I need to integrate with a webservice. The security method employed is where I generate a private-public key pair and ...

Decrypt and encrypt using PBKDF2 java

Is there a way to decrypt PBKDF2 password in java.Java has implementation of “PBKDF2” algorithm as “PBKDF2WithHmacSHA1“ I got the code to create hashes for password I referred to below link for ...

Laravel decrypt attribute based on another attribute

I am trying to save encrypted data into the database based on the user preference. Right now I save in the database the field blood_type as encrypted, but I want to encrypt it only if the user chose ...

Gracefully re-encrypting tokens in Rails app

I inherited a Rails app that integrates with Facebook and encrypts a token sent from Facebook, which it saves as a user's identifying auth token. For a variety of reasons, I ended up updating my ...

How to decrypt the crypt(“serialno”) in python code

I have a python source code is as follows: import hashlib import datetime import time BASE_DATETIME = datetime.datetime(2000, 1, 1, 0, 0, 0) def due2datetime(due): return BASE_DATETIME + datetime....

Have anyone use encryption software for Percona?

I have made crm software with Percona. However I have no idea about encryption. Have you anyone use/used encryption software for Percona? Please give me recommendation. Thanks

How to get a tally of each letter in a string?

I am tasked with coming with a program that will decyrpt a Cesar cipher, and I was looking at other questions previously asked on this site and understand it mostly. However, I just have a very basic ...

Wordpres with ssl form let's encrypt, but homepage not fully secure. “Attackers might be able to see images..” message

Could you help me find out what to do with not fully secure message. I have installed ssl certificate from let's encrypt, but my wordpress homepage has a message "Attackers might be able to see the ...

Veracrypt - Very long bootloader

Today at 6:18 PM Hi All I recently changed my password and added a PIM, as I was told I may have had a 'Maid' attack, I did this and reinstalled Veracrypt as requested and then rebooted as requested....

Steam RSA encryption

I am working on a steam web library and i have tried to rebuild the web login. It consists of two steps: Getting the RSA keys and posting the encrypted password to the servers. But approx. since two ...

TypeError when encrypting data using the WebAPI window.crypto.subtle.encrypt()

I ran into a problem when I tried to use the Crypto API on firefox. (doc) I get a TypeError when I try to encrypt a clear text using this function : window.crypto.subtle.encrypt(algo_enc,key,...

RSA error on WCF Services

I have recently encrypted our .NET web config files for our ASPX web applications using RSA encryption. It works fine for our web applications. However, its not working in our WCF Services, the ...

Query decryption data SQL SERVER

It would like me know if, exists a native tool of the SQL SERVER for encryption some fields, put when making and execute a query, the SQL SERVER decrypt automatically.

SHA256 encryption and decryption (Python 2.7) - same word but different hash

I wanted to write a script that can encrypt and decrypt words. But I ran on a problem and cannot understand it. This code I used to encrypt is this: def encrypt(): print "Enter string for ...

Why does AES decryption have one less round than AES encryption?

I'm doing some work on AES and I have been seeing lots of pseudocode where, for example, if encryption is done in 10 rounds, decryption is done in 9. Primarily this one, to be exact: http://people....

C++/Openssl Get RSA key from encoded bytes (encoded by java)

Does somebody know how I can create an RSA key in C++ from an encoded byte array? My problem is that I try to develop a C++ client that is interacting with a server which is coded in Java. Well in ...

reading two variable values after decrypting

I am working on "Forgot Password". I am trying to create a reset token with email + current_time. email is user login whilst code will check if time >= 5 minutes then this link will not work. Here is ...

System Unique Code Operation with Numbers

A software which is used to insert data in Msaccess database, converting data to a 'long code'. Code length and values varies for every system. Any Idea about what information taken from my system. ...

How To know the AES Encryption Key is correct at the receiver side?

Firstly I'm new to cryptography. Suppose I encrypt a plain test using AES 128 bit Encryption and passed to the receiver. The key is also passed to the receiver. At the receiver side how can I check ...

AES on JavaScript [on hold]

I have working Java code for AES encryption. But I can't do same on JavaScript because it's not the standard encryption. Can someone help me? Here's the Java code.­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­...

Chrome not Firefox are not dumping to SSLKEYLOGFILE variable

I'm trying to decrypt SSL packages with Wireshark as described here. I have already created a SSLKEYLOGFILE System and User variable and the log file. I have restarted my computer (running Windows 10),...

SSL Encryption and Cassandra

I am trying to enable client to node SSL encryption however I keep running into the most strangest errors when trying to start DSE after setting client_encryption_options as true in cassandra.yaml ...

How to encrypt and decrypt the data with RSA Encyption method by using 2048 bit public key (base64 X.509 format)

I want to encrypt and decrypt the data with RSA encryption method in vb.net. According to call bank API, I need to encrypt the data by using 2048 bit public key (base64 X.509 format). I have the code ...

how to append a byte array to file without overwriting it using java

I trying to make an AES encryption and i am generating a salt . However i had encountered some issue. the below code work fine but whenever i encrypted the second and so on files, the salt in side the ...

HTTP Post: getting encrypted Paypal multiple-item cart upload button

I am having trouble using the BMCreateButton of the Button Manager API to get a multiple-item cart uploaded. Inside the paypal documentation for the cart upload command, the paragraph on "securing ...

OpenSSL AES_cfb128_encrypt public/private key C++

I have very basic encrypt/decrypt application that uses constant key. How to make this application to work with public/private key? Is it enough to generate keys with openssl and use them in my code ...

Generating Encrypted PIN BLOCK using ISO 0 format and 3DES [on hold]

I am working on a POS terminal to make a debit card transaction (Financial Application). I have an SDK given by the company which have functions about all the functions required in this development. ...

When encrypting 2 Strings with XOR in Java, what is key[i % key.length]

I'm trying to understand "encrypting" 2 Strings with XOR in Java, I've found pretty clear example but I can't understand why they are doing this: input.charAt(i) ^ key[i % key.length] How in "human ...

why org.jasypt.exceptions.EncryptionOperationNotPossibleException

Here are my Encryptor class methods: public String encrypt(String str){ if(str == null || str.equals("")){ str = ""; } else{ ...

Singleton Instance returns null

In my application, I use the users password as the encryption key for encryption media. I am encrypting media using PBEWithMD5AndDES and this works fine with a password stored in shared preferences. ...

DES-X library for C (implementation on µController)

I am searching for a c-library to decode and encode with DES-X. Unfortunately i can't find any... Can you please let me know if anything is out there? It has to be DES-X.

How can I allow access to my .well-known/ directory with CakePHP?

I have the CakePHP framework installed on my www.vimundos.com linux server, before installing CakePHP in my public_html, I issued a SSL certificate successfully using Let's Encrypt which created a ....

How to use RSA and public key encryption between a client (holding the encrypted text) and a server (holding the private key)?

I have looked into public key encryption and I have created a class which creates a public key and private key. Code -> public static final String ALGORITHM = "RSA"; public static final String ...

Can I encrypt my source code for android and ios?

I have developed a hybrid app for both ios and Android.if i use some some hacking tools then i can unzip the apk file and see the code . I also decrypted some famous app source code using the ...

BlueZ - h6 function support

Bluetooth Spec v4.2 has a h6 cryptographic function that is used to generate a LTK (Long-Term Key) for a Bluetooth LE connection from a LK (Link Key) for Bluetooth BR/EDR and vice-versa. I have looked ...

PGP encryption in Informatica Powercenter

We have a requirement to extract a flatfile from one application into the Informatica server & load it thereon. However, we need to apply PGP encryption on the file before extraction & decrypt ...

json - Encryption SSL/TLS End to End

So a little back story about the security and project. Developing a private application for a customer. This application will need to be secure. One way we are securing it is by not allowing outside ...

Encrypted string has a slash (/) in the result, which causes problems in a URL

I hunted around online to find a simple little encryption method that would take a string, encrypt it, and then decrypt it. The idea being that I have ID's I need in a URL that can't be in plan text. ...

CryptoJS - AES encryption performance to slow

Im using this CryptoJs (https://www.npmjs.com/package/crypto-js to) encryt data in Javascript (Decryption is later on done in .net backend) I'm encrypting 5'000'000 records one by one with the ...

Using Key Check Value (KCV) in AES Encryption

Is it safe to use such a Key check Value method in encryption. Suppose I preceed my message with 16 bytes of zeros and encrypt it using a 128 bit AES encryption. At the receiver side I decrypt the 1st ...

IPSec outgoing encryption not correct

I have two different platforms, one Pine64 (Linux 3.10.104) and one i.MX6 (Linux 4.1.15). Both platforms have exactly the same ipsec-tools.conf (beside ip address) using aes-ctr for encryption. ...

Rsa encryption javascript and decrypt rest service [on hold]

I have the rest service C# where decrypt using RSA. Using PrivateKey for decrypt RSACryptoServiceProvider rsaCryptoServiceProvider; rsaCryptoServiceProvider.Decrypt(content, false); I need ecnrypt ...

Symetric Encryption - Salt and IV

I have been reading up on Symmetric Encryption and it appears if I want to add salt to my encryption I then would need to provide that salt value to the end user as well that wishes to decrypt the ...

Hello anyone here to help me with java(objects) [on hold]

Hello anyone here to help me with java(objects) My code is working but there is problem with object part, kindly if someone can fix it. Please If you can figure out how to make object like this one ...

Do SOAP UI support JCEKS keystore?

I have generated a JCEKS key-store with 3DES(DESEDE) secret key for our SOAP UI Project.But when I try to import that key store in our SOAP UI project,we are getting this following error java.lang....

UWP How to Encrypt AES Key using RSA Public Key?

I'm developing UWP App and using this library Windows.Security.Cryptography I've generated a CryptographicKey and IV, then encrypted the plain text string properly, but now I need to encrypt the ...
Translating... 0%